A

Admin • 828.03K Points
Coach

Q. What does the `hostname` key specify in docker-compose.yml?

  • (A) The container's host name inside the network
  • (B) The container image name
  • (C) The external DNS name
  • (D) The swarm node name

Explanation by: Admin
`hostname` sets the container's hostname as seen inside the network.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.