Skip to content

Instantly share code, notes, and snippets.

@SkylerRogers
Created February 24, 2017 13:38
Show Gist options
  • Save SkylerRogers/cd7068a9e0d21a8f99e377bce0f285f3 to your computer and use it in GitHub Desktop.
Save SkylerRogers/cd7068a9e0d21a8f99e377bce0f285f3 to your computer and use it in GitHub Desktop.
Find Docker ID By Image Name
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