Solved

A Local Docker Alpine Image Has Been Created with an Image

Question 121

Multiple Choice

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?


A) docker build -p 8080:80 alpine:latest
B) docker exec -p 8080:80 alpine:latest
C) docker start -p 8080:80 alpine:latest
D) docker run -p 8080:80 alpine:latest

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions