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