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
if an environment is put after another environment variable on the same line, only the one on the right gets validated in swarm mode.
for example: BUG: ${A_ENV:?requied},${B_ENV}
doesn't validate A_ENV
however BUG: ${B_ENV} ,${A_ENV:?requied}
works as expected
Describe the results you received:
Creating service bug_data
Describe the results you expected:
invalid interpolation format for services.data.environment.BUG: "required variable A_ENV is missing a value: required". You may need to escape any $ with another $.
Additional information you deem important (e.g. issue happens only occasionally):
Output of docker version:
(paste your output here)
Docker version 18.06.0-ce, build 0ffa825
The text was updated successfully, but these errors were encountered:
AmirAliSobhGol
changed the title
required validation with multiple env on sameline doesn't work
required validation with multiple env on the same line doesn't work
Aug 18, 2018
Description
if an environment is put after another environment variable on the same line, only the one on the right gets validated in swarm mode.
for example:
BUG: ${A_ENV:?requied},${B_ENV}
doesn't validate A_ENV
however
BUG: ${B_ENV} ,${A_ENV:?requied}
works as expected
Steps to reproduce the issue:
Describe the results you received:
Creating service bug_data
Describe the results you expected:
invalid interpolation format for services.data.environment.BUG: "required variable A_ENV is missing a value: required". You may need to escape any $ with another $.
Additional information you deem important (e.g. issue happens only occasionally):
Output of
docker version
:Output of
docker info
:Additional environment details (AWS, VirtualBox, physical, etc.):
The text was updated successfully, but these errors were encountered: