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