A

Admin • 802.91K Points
Coach

Q. Which key in docker-compose.yml is used to define port mappings?

  • (A) ports
  • (B) expose
  • (C) mappings
  • (D) connections

Explanation by: Admin
The `ports` key specifies port mappings between the host and the container.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.