Question 1

Which of the following is true about using the '-P' option when creating a new container?
  • Question 2

    In the context of a swarm mode cluster, does this describe a node?
    Solution: a physical machine participating in the swarm
  • Question 3

    The following Docker Compose file is deployed as a stack:

    Is this statement correct about this health check definition?
    Solution: Health checks test for app health ten seconds apart. Three failed health checks transition the container into "unhealthy" status.
  • Question 4

    In Docker Trusted Registry, how would a user prevent an image, for example 'nginx:latest' from being
    overwritten by another user with push access to the repository?
  • Question 5

    Can this set of commands identify the published port(s) for a container?
    Solution: docker container inspect', 'docker port'