What\'s the simplest way to get an environment variable from a docker container that has not been declared in the Dockerfile?
For instance, an environment v
The proper way to run echo "$ENV_VAR" inside the container so that the variable substitution happens in the container is:
echo "$ENV_VAR"
docker exec bash -c 'echo "$ENV_VAR"'