dockerfile set ENV variable from output of external command code example Example: docker how to echo env variable in bash docker exec <container-name> env