Question 171

What is the docker command to setup a swarm?
  • Question 172

    Is this an advantage of multi-stage builds?
    Solution: optimizes Images by copying artifacts selectively from previous stages
  • Question 173

    Does this command create a swarm service that only listens on port 53 using the UDP protocol?
    Solution: 'docker service create --name dns-cache -p 53:53/udp dns-cache'
  • Question 174

    Which of the following commands starts a Redis container and configures it to always restart unless it is
    explicitly stopped or Docker is restarted?
  • Question 175

    Will this action upgrade Docker Engine CE to Docker Engine EE?
    Solution: Uninstall 'docker-ce' package before installing 'docker-ee' package.