Last active
September 10, 2020 08:39
-
-
Save florianpasteur/f561adef0e452e081b8eb7737abbc5a8 to your computer and use it in GitHub Desktop.
docker tools
This file contains 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
dexec() { docker exec -ti "$1" bash; } | |
dfind () { docker ps | grep "$1" | cut -d " " -f1; } | |
dafind () { docker ps -a | grep "$1" | cut -d " " -f1; } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment