nerdctl icon indicating copy to clipboard operation
nerdctl copied to clipboard

`nerdctl compose down` with orphan container should keep the same behavior with docker

Open stillfox-lee opened this issue 3 years ago • 0 comments

What is the problem you're trying to solve

When we execute nerdctl compose down. nerdctl does not check is three any other containers still in the network and just remove it.

Describe the solution you'd like

While docker compose down will return error and not remove the network. We should keep the same behavior with it.

Additional context

The orphan container scenario

stillfox-lee avatar Oct 12 '22 02:10 stillfox-lee