-
Notifications
You must be signed in to change notification settings - Fork 77
Open
Labels
Description
I'm using docker-desktop on windows and having issues when trying to pass an env object to any compose command.
Happens even if env is just an empty object
Its not a major issue because in my case I can fall back to regular docker commandOptions instead of defining env, but still wanted to let you know.
demo logs:
$ docker [ 'compose', 'up', '-d', 'myservice' ] {
cwd: 'C:\\path\\to\\compose\\config',
env: {}
}
E: myservice: unknown shorthand flag: 'd' in -d
works with env: undefined:
$ docker [ 'compose', 'up', '-d', 'myservice' ] {
cwd: 'C:\\path\\to\\compose\\config',
env: undefined
}
E: myservice: Network mynetwork Creating
E: myservice:
E: myservice: Network mynetwork Created
E: myservice:
E: myservice: Network mynetwork Starting
E: myservice:
E: myservice: Network mynetwork Started
Joe-Kollin