Skip to content
Snippets Groups Projects
Commit a8207d95 authored by Anthony's avatar Anthony
Browse files

Useful docker command

parent 27632169
No related branches found
No related tags found
No related merge requests found
# Useful Docker command
## Docker is heavier than black hole
Get disk usage from Docker
`docker system df`
Clean Image
`alias docker_clean_images='docker rmi $(docker images -a --filter=dangling=true -q)'`
Clean container
`alias docker_clean_ps='docker rm $(docker ps --filter=status=exited --filter=status=created -q)'`
Clean cache
`docker builder prune`
Clean system
docker system prune
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment