A

Admin • 828.43K Points
Coach

Q. What is the purpose of the `tty: true` option in docker-compose.yml?

  • (A) Exposes a port
  • (B) Allocates a pseudo-TTY
  • (C) Maps a volume
  • (D) Limits CPU usage

Explanation by: Admin
`tty: true` allocates a pseudo-TTY which is useful for interactive containers.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.