yq < ./docker-compose.yml ".services| to_entries []| { id: .key, ports: .value.ports }"
Created
April 23, 2017 20:51
-
-
Save binarytemple/42d34f1dc131ca0abc5d03e7025c4b5d to your computer and use it in GitHub Desktop.
jq / yq
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment