When deploying to a Docker swarm, which section of the docker-compose file defines configuration related to the deployment and running of services? A. services B. build C. deploy D. args
Correct Answer: C
Explanation:
Explanation:
Specify configuration related to the deployment and running of services. This only takes effect when deploying to a swarm withdocker stack deploy, and is ignored by docker-compose up and docker-compose run.
Reference: https://docs.docker.com/compose/compose-file/#deploy
Please disable your adblocker or whitelist this site!