• UID10044
  • Fans0
  • Follows0
  • Posts6

Docker | Docker Container | Docker Image

More Posted time:Nov 18, 2020 19:36 PM
Docker is a tool designed to facilitate the creation, deployment, and execution of applications through the use of containers. Containers allow a developer to package an application with all the parts it needs, such as libraries and other dependencies, and deploy it as a single package. By doing so, thanks to the container, the developer can be sure that the application will run on any other Linux machine, regardless of any custom settings that the machine may have and that might differ from the machine used to write and test the code.

What is a container?
 Docker Container is a standardized unit that can be created on the fly to implement a particular application or environment. It could be an Ubuntu container, a CentOs container, etc. to complete the requirement from the operating system point of view. Also, it could be an application-oriented container like CakePHP container or Tomcat-Ubuntu container, etc.

How does a Docker image work?
Docker images are built from these base images using a set of simple, descriptive steps that we call instructions. Each instruction creates a new layer on our image. The instructions include actions such as:

Run a command
Add a file or directory
Create an environment variable
What process to run when launching a container from this image
These instructions are stored in a file called Dockerfile. A Dockerfile is a text-based script that contains instructions and commands to build the image from the base image. Docker reads this Dockerfile when it requests a build of an image, executes the instructions, and returns a final image.
Docker Training Online

Assistant Engineer
Assistant Engineer
  • UID11450
  • Fans0
  • Follows0
  • Posts54
1st Reply#
Posted time:Jun 9, 2021 13:06 PM

is it free tutorial?