Killing containers is not removing containers, or deleting volume files.
Let's provide users with the option to run docker rm when the terra environment:remove command is run.
According to the docker userguide, volumes will also not be deleted. Let's make sure to clean those up as well.
Data volumes are designed to persist data, independent of the container’s life cycle. Docker therefore never automatically delete volumes when you remove a container, nor will it “garbage collect” volumes that are no longer referenced by a container.
Killing containers is not removing containers, or deleting volume files.
Let's provide users with the option to run
docker rm
when theterra environment:remove
command is run.According to the docker userguide, volumes will also not be deleted. Let's make sure to clean those up as well.