P

Priyanka Tomar • 35.28K Points
Coach

Q. What is the purpose of the SHELL instruction in a Dockerfile?

  • (A) To specify the default shell for the container
  • (B) To define the base image
  • (C) To specify the working directory
  • (D) To copy files into the container
  • Correct Answer - Option(A)
  • Views: 52
  • Filed under category Docker

Explanation by: Priyanka Tomar
The SHELL instruction specifies the default shell for the container.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.


Question analytics