view env vars in docker code example Example: docker how to echo env variable in bash docker exec <container-name> env