You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
Environment variables used inside a docker-compose.yml are not getting evaluated. Environment variables allows for dynamic properties to be added to docker-compose.yml files to use them in different environments for example.
ᐅ docker stack ps c1
ID NAME IMAGE NODE DESIRED STATE CURRENT STATE ERROR PORTS
yj1d99b0z2ty c1_app.1 anoop/counter-demo:latest ip-10-1-1-122.ec2 Running Running 6 seconds ago
The image is anoop/counter-demo:latest
Describe the results you received:
The image is anoop/counter-demo:latest
Describe the results you expected:
The image should have been anoop/counter-demo:onbuild as that was the value of the env variable used at the time the stack was deployed
Additional information you deem important (e.g. issue happens only occasionally):
Seems to happen only on the latest docker client. I am using 18.09.0-ce-beta1.
The same issue does not occur on 17.06.2-ee-16
Description
Environment variables used inside a docker-compose.yml are not getting evaluated. Environment variables allows for dynamic properties to be added to docker-compose.yml files to use them in different environments for example.
Steps to reproduce the issue:
docker stack deploy
using an environment variableanoop/counter-demo:latest
Describe the results you received:
The image is
anoop/counter-demo:latest
Describe the results you expected:
The image should have been
anoop/counter-demo:onbuild
as that was the value of the env variable used at the time the stack was deployedAdditional information you deem important (e.g. issue happens only occasionally):
Seems to happen only on the latest docker client. I am using
18.09.0-ce-beta1
.The same issue does not occur on
17.06.2-ee-16
Output of
docker version
:The text was updated successfully, but these errors were encountered: