WhaleDeck logo

How to get a Docker container's envs

Written by Typ0genius profile picture @Typ0genius

In this WhaleDeck Shorts, I answer the question of How to get a Docker container's envs. The answer is quite simple. You would be surprised.

docker container inspect -f '{{range .Config.Env}}{{printf "%s\n" .}}{{end}}' my_container
Tired of typing commands? Experience the ease of docker server management with WhaleDeck's beautiful GUI. Get things done faster and try it for free today!
Check out more Shorts