I am trying to deploy a stack using a compose file that has devices
option in it. But I am getting this error:
$ docker stack deploy --compose-file docker-compose.yml mystack
Ignoring unsupported options: devices
Can anybody confirm if docker stack deploy
supports this option? My compose file version is 3.
Thanks.
meyay
(Metin Y.)
2
Nope, not implemented for Swarm.
There are severall open issues and even promissing feature proposals like https://github.com/docker/swarmkit/issues/2682, but swarm is only capable to do a subset of things docker-compose or plain docker from the cli is able to do: https://github.com/moby/moby/issues/25303