0 votes
in Docker by
What is the purpose of the ENTRYPOINT instruction in a Dockerfile?

A) To specify the command that should be run when a container is started

B) To specify the base image for the Dockerfile

C) To specify the user that should run the container

D) To specify the working directory for the container

1 Answer

0 votes
by

Solution:A

Explanation: The ENTRYPOINT instruction in a Dockerfile is used to specify the command that should be run when a container is starteD) It is often used to define the primary process for the container, such as a web server or database server.

Related questions

0 votes
asked Apr 5, 2020 in Docker by ryan harris
0 votes
asked Aug 29, 2023 in Docker by JackTerrance
...