Cleaning up:
- Stopped containers:
docker container prune - Stop all containers:
docker container stop $(docker container ls -aq) - Dangling images:
docker image prune - Images with no containers:
docker image prune -a - All but volumes:
docker system prune - All:
docker system prune --volumes - Volumes not in use:
docker volume prune - Remove all containers:
docker rm $(docker ps -aq) - Remove all images:
docker rmi $(docker images -q)
docker run --rm -it --entrypoint bash testror
docker run --rm -it --entrypoint bash --user root testror
docker logs -f ror2-server