1 of 25

2 of 25

About me

Study:

Graduate student Inha university in Tashkent, 2021

Job:

Junior Software Engineer Epam (2021, June - now)

Hobbies:

Reading tech blog, writing technical blog

Blog:

t.me/nodir_adventure

3 of 25

Few words about building app without Docker

4 of 25

A few words about Devops

5 of 25

Benefits of using Docker containers

  • Pipeline CI/CD
  • Can integrate trends: Tracing, logging, monitoring
  • Load balancing, Replication
  • High availability 24/7

  • What Docker can run:

OS, Databases, API, Frontend App, Telegram Bot, Networking(devops tools, proxy), … anything

6 of 25

How Docker work?

7 of 25

Docker Image and Container

8 of 25

Install Docker

https://www.docker.com/products/docker-desktop

OS: MacOS, Windows, Ubuntu(Linux)

9 of 25

Verify Docker is installed correctly and working

10 of 25

Show all images:

11 of 25

Docker image registry: hub.docker.com

12 of 25

13 of 25

Pull a new image:

Delete image (should not have connected container)

14 of 25

Run container from image:

  • -d is running container in background
  • -p is giving port
  • 8081:80 – first port outside port, second inner
  • nginx – image name
  • :latest – image tag (version)

15 of 25

Check port: 8081 in browser

16 of 25

17 of 25

Check running containers

Check all running and not running containers

18 of 25

Stop container

Delete container (it should not be running)

19 of 25

Building you Docker image

  • Create Dockerfile in project folder:

20 of 25

Next topics

21 of 25

What is Docker compose?

22 of 25

Container orchestration

23 of 25

Tutorials

Full docker tutorial

https://www.youtube.com/watch?v=p28piYY_wv8

More on docker tutorial, channel

https://www.youtube.com/channel/UC2KfmYEM4KCuA1ZurravgYw

Most advanced Devops channel(like Kubernetes)

https://www.youtube.com/c/TechWorldwithNana

24 of 25

Questions

25 of 25

Thank you