Cisco
350-901 · Question #7
Refer to the exhibit. Which additional line results in the output of Test 1 upon execution of the docker run -rm devnet 1 command in a Dockerfile with this content? FROM alpine:3.7 RUN apk add --no-ca
Sign in or unlock 350-901 to reveal the answer and full explanation for question #7. The question stem and answer options stay visible for context.
Application Deployment and Security
Question
Refer to the exhibit. Which additional line results in the output of Test 1 upon execution of the docker run -rm devnet 1 command in a Dockerfile with this content?
FROM alpine:3.7
RUN apk add --no-cache bash
Options
- ACMD ["/bin/echo", "Test"]
- BRUN ["/bin/echo", "Test"]
- CENTRYPOINT ["/bin/echo", "Test"]
- DCMD ["/bin/echo Test"]
Unlock 350-901 to see the answer
You've previewed enough free 350-901 questions. Unlock 350-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
#Dockerfile#CMD vs ENTRYPOINT#Docker Commands#Containerization