Sobes.tech
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

  1. 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.

  2. The primary process in a container is the process started by the CMD or ENTRYPOINT command from the Dockerfile. Usually, this is the main application process, not initd or daemons.

  3. Command to build a Docker image:

docker build -t image_name .