devcontainers / devcontainers/cli

Apply --remove-existing-container​ before initializeCommand

Open
#844 0 comments 0 reactions 1 assignee Claimed by @chrmarti View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.