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

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments