Created
January 24, 2019 10:40
-
-
Save truthadjustr/463eb5c8a9c0ac31df020195869d33ed to your computer and use it in GitHub Desktop.
yml tip
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
pip install pyyml | |
python -c 'import sys, yaml, json; json.dump(yaml.load(sys.stdin), sys.stdout, indent=4)' < docker-compose.yml > /tmp/docker-compose.json | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment