Skip to content

Instantly share code, notes, and snippets.

View bmasias1's full-sized avatar
🚀

Bryan Masias bmasias1

🚀
View GitHub Profile
@bmasias1
bmasias1 / helpful-docker-commands.sh
Created July 6, 2022 14:22 — forked from garystafford/helpful-docker-commands.sh
My list of helpful docker commands
###############################################################################
# Helpful Docker commands and code snippets
###############################################################################
### CONTAINERS ###
docker stop $(docker ps -a -q) #stop ALL containers
docker rm -f $(docker ps -a -q) # remove ALL containers
docker rm -f $(sudo docker ps --before="container_id_here" -q) # can also filter
# exec into container