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
$ mkdir /tmp/foo
$ mkdir /tmp/bar
$ export FOO_BAR="['/tmp/bar:/bar', '/tmp/foo:/foo']"
$ docker-compose up
ERROR: Validation failed in file './docker-compose.yml', reason(s):
Service 'test' configuration key 'volumes' contains an invalid type, it should be an array
This is the same idea as #2730, only scalar strings are supported. You could set a single value, or have a variable for each, but you can't set an array in a variable.
I'm just testing a simple foo bar example using variable substitution:
but am encountering this:
Does compose support this YAML spec, or am I doing something improper?
http://yaml.org/spec/1.2/spec.html#id2759963
relevant context: NVIDIA/nvidia-docker#39
The text was updated successfully, but these errors were encountered: