Skip to content

Docker

docker rm -v $(docker ps -a -q -f status=exited);
docker volume rm $(docker volume ls -q -f dangling=true);
docker image rm $(docker images -q -f dangling=true);

How to clean up your Docker environment

https://dev.to/deepu105/how-to-clean-up-your-docker-environment-4jm4

https://docs.docker.com/config/pruning/

docker stats --all
docker stats CONTAINER_ID
docker stats

https://www.digitalocean.com/community/questions/how-to-display-the-resource-usage-statistics-of-a-docker-container

https://phoenixnap.com/kb/docker-run-command-with-examples

docker network create webproxy
docker network ls -q | xargs docker network rm
docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' c1e91b88ce94
docker images --format '{{.Repository}}:{{.Tag}}'> bitwarden-list.txt
vi bitwarden-list.txt
docker save $(cat bitwarden-list.txt) -o bitwarden.tar
docker load -i bitwarden.tar
Published inUncategorized

Be First to Comment

Leave a Reply

Your email address will not be published. Required fields are marked *