Exam4Training

Which of the following is true about using the ‘-P’ option when creating a new container?

Which of the following is true about using the ‘-P’ option when creating a new container?
A . Docker binds each exposed container port to a random port on all the host’s interface
B . Docker gives extended privileges to the container.
C . Docker binds each exposed container port to a random port on a specified host interface
D . Docker binds each exposed container port with the same port on the host

Answer: A

Exit mobile version