$ docker system prune -a --volumes
docker network prune -f
# or
docker network rm $(docker network ls | grep "bridge" | awk '/ / { print $1 }')
docker volume rm $(docker volume ls -qf dangling=true)
docker rmi $(docker images -f dangling=true -q)
docker rmi $(docker images -f -a -q)
docker images -a | grep "pattern" | awk '{print $3}' | xargs docker rmi
docker history --no-trunc <image>
docker rm $(docker ps -a -q)
# or
docker container prune
docker run --rm -it my-docker
docker rm --force $(docker ps -a -q)
# or
docker container prune -f
Note: for protected registry basic auth argument-u username:password
.
docker registry ins running in local container.
curl -X GET http://localhost:5000/v2/_catalog
curl -X GET http://localhost:5000/v2/<repository>/tags/list
Remote Docker setup (over TCP port)
Install Docker using snap
Installing dokcer-compose (linux)