Skip to content

Instantly share code, notes, and snippets.

@alexjyong
Created August 22, 2023 14:06
Show Gist options
  • Save alexjyong/6b82fe12ba7f7aeaf1cbe6e118bedcea to your computer and use it in GitHub Desktop.
Save alexjyong/6b82fe12ba7f7aeaf1cbe6e118bedcea to your computer and use it in GitHub Desktop.
helpful commands

These are commands I've found helpful for day to day work.

Generally geared for *nix environments.

Nuke all docker resources on a machine.

docker rm -f $(docker ps -a -q) && docker rmi -f $(docker images -q) && docker volume rm $(docker volume ls -q) && docker network rm $(docker network ls -q) && docker system prune -a --volumes -f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment