docker image inspect -f '{{.Config.Env}}' myimage
Category: Docker
Extract environment variables baked into an image