Ifdocker stackis to be used to run a Docker Compose file on a Docker Swarm, how are the images referenced in the Docker Compose configuration made available on the Swarm nodes?

Ifdocker stackis to be used to run a Docker Compose file on a Docker Swarm, how are the images referenced in the Docker Compose configuration made available on the Swarm nodes?
A . docker stack builds the images locally and copies them to only those Swarm nodes which run the service.
B . docker stack passes the images to the Swarm master which distributes the images to all other Swarm nodes.
C . docker stack instructs the Swarm nodes to pull the images from a registry, although it does not upload the images to the registry.
D . docker stack transfers the image from its local Docker cache to each Swarm node.
E . docker stack triggers the build process for the images on all nodes of the Swarm.

Answer: C

Latest 305-300 Dumps Valid Version with 60 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments