-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Quoted env variables maintain their quotes #167
Comments
What shell are you using with the docker client? |
I'm using
Here is the output from Docker:
Here is the output from
Interestingly, running
|
In your "docker" example, what is the DOCKER_HOST? |
It is unset:
|
OK, so that one is a real linux host? |
It is the Docker Desktop instance running locally on my system (MacOS). |
When a container is being deployed and
<container>.env
contains a variable that is quoted, such asMDATA_DB_URL="//db:5432/dbname"
, the value of the variable in the container contains the quotes.Example:
portal.env:
MDATA_DB_URL="//db:5432/dbname"
Container variable value:
[root@12331e122a10 /]# echo $MDATA_DB_URL
"//db:5432/dbname"
[root@12331e122a10 /]#
The text was updated successfully, but these errors were encountered: