We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b926fe commit 5a3358eCopy full SHA for 5a3358e
internal/stack/compose.go
@@ -100,7 +100,7 @@ func dockerComposeDown(options Options) error {
100
downOptions := compose.CommandOptions{
101
Env: append(appConfig.StackImageRefs(options.StackVersion).AsEnv(), options.Profile.ComposeEnvVars()...),
102
// Remove associated volumes.
103
- ExtraArgs: []string{"--volumes"},
+ ExtraArgs: []string{"--volumes", "--remove-orphans"},
104
}
105
if err := c.Down(downOptions); err != nil {
106
return errors.Wrap(err, "running command failed")
0 commit comments