Intern
45. What is a docker file? - Local docker image repository; - A file with instructions for building a docker image; - Docker configuration file; - Official docker documentation; 46. What is the primary process in a container? - FROM; - RUN; - initd; - run.deamon; 47. Command to build a docker image?
sobes.tech AI
Answer from AI
-
Dockerfile is a file with instructions for building a Docker image. It describes which base images to use, which commands to execute, which files to copy, etc.
-
The primary process in a container is the process started by the
CMDorENTRYPOINTcommand from the Dockerfile. Usually, this is the main application process, notinitdor daemons. -
Command to build a Docker image:
docker build -t image_name .