DEV Community

Bradley Kipkoech
Bradley Kipkoech

Posted on

DOCKER

DOCKER
we first need to understand what docker is
Docker is an open platform that enables developers to build, ship and run applications within an isolated, lightweight environments called containers.it simplifies the process of deploying and managing applications by packaging application and all its dependencies(libraries, system tools, code, runtime) into a single portable unit.

key concepts
containers
this are standalone, executable packages that contain everything an application needs to run.they share the host operating system's kernel, thus making them more lightweight and efficient.

images
this are read-onlt templates used to create containers.They act as blueprint, defining the application's environment and dependencies.

Dockerfile
it is a text file containing instructions for building a docker image. it specifies the base image, dependencies and commands needed to set up the application's environment.

Docker engine
this is the core component of docker which is responsible for building and running containers. it includes a server(daemon) , APIs and a command-line interface.

Benefits of docker
portability
efficiency
isolation
scalability
simplified deployment

Top comments (0)