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