0 votes
in Docker by

What is the purpose of a Dockerfile?

A) To define a Docker image

B) To define a Docker container

C) To manage Docker volumes

D) To manage Docker networks

1 Answer

0 votes
by

Solution:A

Explanation: A Dockerfile is used to define a Docker image. It provides a set of instructions for building the image, such as what base image to use, what packages to install, and what files to copy into the image.

Related questions

0 votes
asked Apr 17 in Docker by rajeshsharma
0 votes
asked Aug 28, 2023 in Docker by JackTerrance
...