Skip to content

Instantly share code, notes, and snippets.

@wlizama
Created July 15, 2020 05:25
Show Gist options
  • Save wlizama/c42de75bb48fb03a01ea7fed6d07bb80 to your computer and use it in GitHub Desktop.
Save wlizama/c42de75bb48fb03a01ea7fed6d07bb80 to your computer and use it in GitHub Desktop.
# detener todos los contenedores
for a in `docker ps -a -q`
do
echo "Stopping container - $a"
docker stop $a
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment