Docker Practice Test
Docker Containerization Dockerfile and Image Building 3
What is the difference between the ARG and ENV instructions in a Dockerfile?
Select your answer
A
ARG persists in the final image; ENV is only available at build time
B
ARG is only available during the build process; ENV persists in the final image and running containers
C
ARG and ENV are interchangeable at both build time and runtime
D
ARG sets system-level variables; ENV sets application-level variables
Hint
✨ Remove Ads & Unlock Every Exam
— From $1.49
🃏 Study This Quiz as Flashcards →