Which Dockerfile instruction specifies the base image for a new image?

Docker Fundamentals Easy

Docker Fundamentals — Easy

Which Dockerfile instruction specifies the base image for a new image?

Key points

  • The FROM instruction sets the base image for a new image.
  • It is a crucial step in defining the environment for the new image.
  • Other instructions like MAINTAINER, BASE, and IMAGE do not serve the same purpose as specifying the base image.

Ready to go further?

Related questions