Created
March 2, 2017 16:33
-
-
Save hisplan/fce9064af0a89131ca33bb72ea53b0b2 to your computer and use it in GitHub Desktop.
parse docker label
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
sudo docker inspect bwa | python -c "import json; import sys; j=json.loads(sys.stdin.read()); print j[0]['Config']['Labels']" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment