Docker uses ________ files to define the configuration of a containerized application.

  • .yaml
  • .json
  • .cfg
  • .dockerfile
The correct option is ".dockerfile." Docker uses Dockerfiles, which are plain text configuration files with a specific syntax, to define the steps needed to create a container image. These files specify the base image, environment variables, dependencies, and commands to run when the container starts. Dockerfiles are essential for building reproducible and version-controlled containerized applications, making it easier to manage and scale container deployments.
Add your answer
Loading...

Leave a comment

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