In this sample Dockerfile, what does the FROM instruction do?

The Question “In this sample Dockerfile, what does the FROM instruction do?

FROM ubuntu:18.04

COPY . /app

RUN make /app

CMD python /app/app.py

is a part of Introduction to Spark Fundamentals Course.

Question: In this sample Dockerfile, what does the FROM instruction do?

FROM ubuntu:18.04

COPY . /app

RUN make /app

CMD python /app/app.py

  1. It defines the base image, which in this case is Ubuntu version 18.04.
  2. It defines the minimum version of the operating system for the docker build command to use.
  3. It defines the operating system on which the docker build command must be run.
  4. It defines the virtualized host operating system on which the container will run.

Correct Answers: 1

About Introduction to Containers, Kubernetes, and OpenShift V2 Course

Containers and Cloud Native are the most significant invention in IT since the introduction of virtualization. Everyone from a small startup to a large multinational corporation is transitioning to this technology and they are looking for people who have the skills.

After completing this course, you will be able to build applications the Cloud Native way and be able to deploy your applications at a scale that will make Google envious.

This course introduces you to containers and explains how containers differ from virtual machines.  It also covers the importance of containers in cloud computing as well as the emerging ecosystem of related technologies such as Docker, Kubernetes, OpenShift, and Istio.

This course is of interest to anyone who wants to be a cloud practitioner and use container skills as developers, architects, system engineers, network specialists and many other roles. The material also serves the needs of those who perform the tasks of advising, building, moving and managing cloud solutions.

Introduction to Containers, Kubernetes, and OpenShift V2

Conclusion:

We hope you know the correct answers to “In this sample Dockerfile, what does the FROM instruction do?” If Why Quiz helped you to find out the correct answer then make sure to bookmark our site for more Course Quiz Answers.

If the options are not the same then make sure to let us know by leaving it in the comments below.

More Quiz Answers >>

Google Cloud Platform Fundamentals: Core Infrastructure

Operating Systems and You: Becoming a Power User

IBM Cloud Essentials V3 Cognitive Class

Introduction to Python Saylor Academy Quiz Answers

Technical Support Fundamentals Quiz Answers

Leave a Reply

Your email address will not be published. Required fields are marked *