Categories
devops Technology

What is Docker?

This article is for you if you …

If you are a developer and you are going to start working with docker, and you already don’t know even the concepts of Docker, this article series is for you.

It was a little confusing for me when I started working with docker, so I decided to publish some articles for bits of help who are beginners to Docker or who want to review the concepts.

Overview of docker

Docker allows users to build independent and isolated development environments in the computer and run their software in a way that we call Container. For example, suppose you need a project with php8.1, but you only have php7.4 on your system(you need the php7.4 version to develop other projects).

In this use case, you can build a docker image that contains your PHP suitable version and your database and other environments and run it as a container by the side of another project in an isolated environment.

Another Docker use case

You are running a Linux environment with different PHP, database, composer, node.js, npm, and…

And your teammate is working on mac os with a completely different environment .

What is the solution?

How can you work on the same project simultaneously in a different environment?

How to deploy a project if the server can’t provide project requirements based on our development environment?

  • docker can solve this problem by build isolated environments in the server and provide exactly requirements of peject in the isolated space.

download and install docker :

  • https://www.docker.com/get-started/