Valid XK0-005 Dumps shared by ExamDiscuss.com for Helping Passing XK0-005 Exam! ExamDiscuss.com now offer the newest XK0-005 exam dumps, the ExamDiscuss.com XK0-005 exam questions have been updated and answers have been corrected get the newest ExamDiscuss.com XK0-005 dumps with Test Engine here:
A Linux administrator needs to deploy an Apache web server in a container. In addition, the container needs to run in the background, and the web server needs to be exposed on port 8080 of the host machine. Which of the following commands will satisfy these requirements?
Correct Answer: B
* -d: run in detached (background) mode * -p 8080:80: expose port 80 inside container on 8080 on host * --name myweb: sets container name Only B is correctly structured. Reference:CompTIA Linux+ XK0-005 Official Study Guide, Domain 2.5 - Containers "Use docker run -d -p host_port:container_port to deploy containers and expose services."