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