Hi Sprykees, after resetting my docker setup, I have troubles getting my containers to work again. M
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
-
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.
0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 75 Spryker News
- 919 Developer Corner
- 779 Spryker Development
- 89 Spryker Dev Environment
- 362 Spryker Releases
- 3 Oryx frontend framework
- 34 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 25 Job Opportunities
- 3.2K 📜 Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 32 Product & Business Questions
- 69 Spryker Safari Questions
- 50 Random