-
-
Save drmikecrowe/6d918439299f1fc4d6ef to your computer and use it in GitHub Desktop.
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
docker-yml() { | |
docker inspect -f $' | |
{{.Name}} | |
image: {{.Config.Image}} | |
entrypoint: {{json .Config.Entrypoint}} | |
environment: {{range .Config.Env}} | |
- {{.}}{{end}} | |
' $1 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment