Skip to content

Instantly share code, notes, and snippets.

@ehaynes99
Last active November 6, 2022 01:20
Show Gist options
  • Save ehaynes99/a57868879abb5166529e7ac3e06a664b to your computer and use it in GitHub Desktop.
Save ehaynes99/a57868879abb5166529e7ac3e06a664b to your computer and use it in GitHub Desktop.
docker-commands.md

Nuke the world!!!!!

# kill anything running
docker kill $(docker ps -q)
docker system prune -af --volumes # aka --all --force --volumes

ssh

docker exec -it <name_or_id> /bin/bash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment