My devcontainer fails everytime I recreate it without cache #114
-
I can't figure out the actual cause of the problem because the logs are so bloated
The code is here: https://github.com/codingspiderfox/nx-boilerplate @f5f468acf64206ecba144d1734d79971c72c4426 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hello! 👋 @CodingSpiderFox Is https://github.com/codingspiderfox/nx-boilerplate a private repo? Unfortunately, I can't access it. The error indicates that a Docker command was attempted on a container that is not currently running, probably it's complaining about |
Beta Was this translation helpful? Give feedback.
-
Ah yes, I thought it would be public - I created a public repro here now: https://github.com/CodingSpiderFox/nx-boilerplate-devcontainer |
Beta Was this translation helpful? Give feedback.
Thanks for the repro steps, super helpful.
Your configuration is missing a step which will keep the container active so that it doesn't shut down after the process ends.
Can you add the following command? see https://github.com/CodingSpiderFox/nx-boilerplate-devcontainer/compare/main...samruddhikhandale:nx-boilerplate-devcontainer:patch-2?expand=1 for reference