QuestionQ72

VerifiedApplication Deployment and Security

Question Image

Refer to the exhibit. Drag the actions on the left that this Dockerfile performs to the right. Not every option is used.

Drag & Drop
step 1
step 2
step 3
Explanation

FROM defines the base image (and Docker obtains it if it is not local). VOLUME ["/data"] declares /data as a volume mount point. The exec-form ENTRYPOINT ["/bin/sh"] makes /bin/sh the container’s executable, starting a shell when the container runs.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!