Hi,
I am trying to use docker-compose with GPU on my workstation, and I found a seemly contradicting documentation:
- Here in compose v3 doc, it says: (link)
deploy
Added in version 3 file format.
Specify configuration related to the deployment and running of services. This only takes effect when deploying to a swarm with docker stack deploy and is ignored bydocker-compose up
anddocker-compose run
.
- However in the GPU doc, it uses deploy and docker-compose up together.
(link)
I guess not all configuration under deploy is ignored?