Nerd For Tech
Published in

Nerd For Tech

Docker tutorial. Making first steps.

Continuous integration.

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. https://docs.docker.com/engine/install/

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 https://hub.docker.com/ 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. https://www.docker.com/products/docker-desktop

List of commands

Originally published at http://tomorrowmeannever.wordpress.com on March 4, 2021.

NFT is an Educational Media House. Our mission is to bring the invaluable knowledge and experiences of experts from all over the world to the novice. To know more about us, visit https://www.nerdfortech.org/.

Recommended from Medium

Introducing a Multi-Org Property Orchestrator for SFDX Projects

Automated LetsEncrypt Certificates on AWS

Don’t think. Just write the code!

The Po.et Technology Stack

DNS — the first distributed database

Enigma’s Garden Model for ETL Tooling

How to Deploy Kafka Connect on Kubernetes Using Helm Charts

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
Yurii K

Yurii K

Full-stack developer. In my work, I use Angular and C#. In my free time I write articles for my blog.

More from Medium

Introduction to Koa JS and REST API

Installing MongoDB and Angular and integrating them together

Server.js file established connection between mongodb backend and angular front-end

Generate secure API from your browser