Docker tutorial. Making first steps.

Continuous integration.

Yurii Kuznietsov
Mar 4 · 2 min read

It is always hard to start something new. In this article I will introduce a main concept of docker and will give you a small list of commands that you need to know.

When we run a server on linux or windows we do not need every service that we have inside this operation system (OS). We need a small version of OS without UI with a couple of services in it. This small version of OS is portable and requires fewer resources on your PC.

Basically docker is a manager of those tiny virtual machines. Using a docker we can run a lot of virtual machines, stop, update etc.

Docker components

Docker engine is a docker that is installed on your PC.

Docker image

Imagine you need to install windows on your PC, what do you need? You need to have an image of a window system that you want on a CD or a flash driver. You could have different windows 7, 10 or vista. Each of them are on a different CD. That is a docker image.

Docker container

You have a CD now you can install OS on your PC. You can install a couple of different OS on your PC or can install the same version of OS a couple times. That is a container.

Docker file

Docker file is an image with specific OS and different programs in it.

Docker hub

In most cases we can use existing images. We just need to go on and find the right image. You need to have an account for using a docker hub.

We are done with theory it is time to instal docker and run some commands.

Docker app

Docker desktop has everything that we need for docker.

List of commands

Originally published at on March 4, 2021.

Medium is an open platform where 170 million readers come to find insightful and dynamic thinking. Here, expert and undiscovered voices alike dive into the heart of any topic and bring new ideas to the surface. Learn more

Follow the writers, publications, and topics that matter to you, and you’ll see them on your homepage and in your inbox. Explore

If you have a story to tell, knowledge to share, or a perspective to offer — welcome home. It’s easy and free to post your thinking on any topic. Write on Medium

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store