Skip to content

Instantly share code, notes, and snippets.

@AuthorProxy
Created March 21, 2022 21:07
Show Gist options
  • Select an option

  • Save AuthorProxy/8ad1b9b8fce8ed51c98b0b8a30c1ec48 to your computer and use it in GitHub Desktop.

Select an option

Save AuthorProxy/8ad1b9b8fce8ed51c98b0b8a30c1ec48 to your computer and use it in GitHub Desktop.
docker_clean.sh
docker container rm -f $(docker container ls -aq)
docker image rm -f $(docker image ls -aq)
docker volume rm -f $(docker volume ls -q)
docker builder prune -f
docker system prune -f --all --volumes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment