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:
Verified
Q61: Users cannot access a webserver and after
Q62: While developing a real-time VoIP application on
Q63: Which service provides a directory lookup for
Q64: A small company has 5 servers and
Q65: What is a benefit of organizing code
Q67: How does a developer create and switch
Q68: A 401 HTTP response code is returned
Q69: Refer to the exhibit. Q70: What is the function of an IP Q71: What is used in Layer 2 switches
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents