Created
February 24, 2017 13:38
-
-
Save SkylerRogers/cd7068a9e0d21a8f99e377bce0f285f3 to your computer and use it in GitHub Desktop.
Find Docker ID By Image Name
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
function find_docker_container() { | |
docker ps -q --filter ancestor=$1 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment