Compose: `docker-compose rm` does not remove networks and images

Created on 12 Feb 2016  路  2Comments  路  Source: docker/compose

When running docker-compose up for the first time it creates custom networks
When running docker-compose rm containers are removed but custom networks remain
app specific images are also left behind but that may be a separate issue

arecli kinquestion

Most helpful comment

That's right, it doesn't! That's why there is docker-compose down.

rm -> only containers
down -> containers, and networks by default, volumes and image optionally

All 2 comments

That's right, it doesn't! That's why there is docker-compose down.

rm -> only containers
down -> containers, and networks by default, volumes and image optionally

Was this page helpful?
0 / 5 - 0 ratings