Calling Developers!
We are reenergizing our code contribution process! Learn More

Hi Sprykees, after resetting my docker setup, I have troubles getting my containers to work again. M

Options
UKHR9UN00
UKHR9UN00 Posts: 70 🧑🏻‍🚀 - Cadet

Hi Sprykees,
after resetting my docker setup, I have troubles getting my containers to work again.
My cli container is not starting anymore. Apparently because node is not installed properly.
docker logs tells me /usr/local/bin/docker-php-entrypoint: line 9: /usr/local/bin/node: No such file or directory

Starting the container without an entrypoint via docker run -it --entrypoint="" --user=root <id> /bin/bash is possible.
I also found out that node is installed, but at /usr/bin/node instead of /usr/local/bin/node where the container tries to execute it when calling just node

To me this sounds very similar to this github issue from November (which is not resolved yet): https://github.com/spryker/docker-sdk/issues/397

We're using the PHP 8.0 images on M1 (if I see it correctly, we're using spryker/php:8.0-debian).
I've already tried to clean and reset my docker-sdk and remove all existing Spryker docker images.

Did anyone experience the same issues?

Comments

  • UKHR9UN00
    UKHR9UN00 Posts: 70 🧑🏻‍🚀 - Cadet
    Options

    I temporarily fixed this by adjusting docker/images/common/application/Dockerfile.twig and adding a symlink:

    RUN ln -fs /usr/bin/node /usr/local/bin/node
    

    But I'm still not sure why this suddenly happens.