Solved

A Local Docker Alpine Image Has Been Created with an Image

Question 66

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

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents