Clean up
- Can skip if you want to play with the code later on etc.
- We are using Docker in the later workshops so at least stop any containers running.
- If you have Docker installed from before, be careful with these commands.
- Docker compose will clean up after running:
docker-compose down
- Stop & remove any containers:
docker ps -a docker rm -f ${someContainer}
- To delete any stopped containers:
docker container prune
- Delete any images
docker image ls docker rmi ${imageName} docker image prune
- Delete any volumes
docker volume ls docker volme rm ${volumeName}