Quickly learn How to get a Docker container's envs with WhaleDeck Shorts. Clear, step-by-step guides for Docker.
get the environment variables of the Docker container my_container.
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!