Created
July 15, 2020 23:55
-
-
Save HanjoStudy/fd3d794974e04205924ece8f362e8d3e to your computer and use it in GitHub Desktop.
Docker help
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function docker_rm_exits(){ | |
sudo docker ps -a | grep Exit | cut -d ' ' -f 1 | xargs sudo docker rm | |
} | |
function docker_stop_rm(){ | |
docker stop $1 | |
docker rm $1 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment