Exam2

devops / docker • 5 questions

Question 1 of 5
Which Dockerfile instruction sets the base image for the build?
Question 2 of 5
What is the key difference between RUN and CMD in a Dockerfile?
Question 3 of 5
What does the EXPOSE instruction do in a Dockerfile?
Question 4 of 5
What is the purpose of a .dockerignore file?
Question 5 of 5
What is the ENTRYPOINT instruction used for in a Dockerfile?
← Back