Which command uses the Docker CLI to set the number of tasks of the services to 5?

You have deployed a service to swarm. Which command uses the Docker CLI to set the number of tasks of the services to 5? (choose 2)A . ‘docker service update –replicas=5 <service-id>’B . ‘docker replica update <service-id>=5’C . ‘docker update service <service-id>=5’D . ‘docker service replicas <service-id>=5’E . ‘docker service scale <service-id> = 5”...

Continue reading

Which of the following commands will create a swarm service which only listens on port 53 using the UDP protocol?

Which of the following commands will create a swarm service which only listens on port 53 using the UDP protocol?A . docker service create –name dns-cache -p 53:53/udp dns-cacheB . docker service create –name dns-cache -p 53:53 –service udp dns-cacheC . docker service create –name dns-cache -p 53:53 ..constraint networking.protocol.udp=true dns-cacheD . docker service...

Continue reading