diff --git a/services/docker.go b/services/docker.go index 9734c4e..c88130d 100644 --- a/services/docker.go +++ b/services/docker.go @@ -94,5 +94,5 @@ func CreateInstance(net string) (*ptypes.Instance, error) { } func DeleteContainer(id string) error { - return c.ContainerRemove(context.Background(), id, types.ContainerRemoveOptions{Force: true}) + return c.ContainerRemove(context.Background(), id, types.ContainerRemoveOptions{Force: true, RemoveVolumes: true}) }