devcontainers / devcontainers/cli
Apply --remove-existing-container before initializeCommand
Open
bug
- Dominant language
- TypeScript
- Stars
- 3k
- Forks
- 457
- Avg merge
- 13h 17m
- Merged PRs (30d)
- 6
Description
VS Code devcontainer extension removes the devcontainer before running the rebuild. The Devcontainer CLI although works differently by applying options like `--remove-existing-container` only after `initializeCommand`. It could lead to the situation when old container left running although the rebuild has failed. It would be good to align the behaviour.
Contributor guide
Assessment
This issue has not been assessed yet.