Cisco
200-901 · Question #185
A local Docker alpine image has been created with an image ID of a391665405fe and tagged as "latest". Which command creates a running container based on the tagged image, with the container port 8080
Sign in or unlock 200-901 to reveal the answer and full explanation for question #185. The question stem and answer options stay visible for context.
Application Deployment and Security
Question
A local Docker alpine image has been created with an image ID of a391665405fe and tagged as "latest". Which command creates a running container based on the tagged image, with the container port 8080 bound to port 80 on the host?
Options
- Adocker build -p 8080:80 alpine:latest
- Bdocker exec -p 8080:80 alpine:latest
- Cdocker start -p 8080:80 alpine:latest
- Ddocker run -p 8080:80 alpine:latest
Unlock 200-901 to see the answer
You've previewed enough free 200-901 questions. Unlock 200-901 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#Docker#Containerization#docker run#Port mapping