A

Admin • 833.24K Points
Coach

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

  • (A) To define environment variables
  • (B) To specify the base image
  • (C) To expose ports
  • (D) To start a container

Explanation by: Admin

`FROM` sets the base image for the Docker image being built.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.