🐳
💻 For developers

Docker Basics

Images, containers, Dockerfile, compose — package your apps

What you'll build
📘A solid foundation
⚡Practice in the browser
🎯Mini-projects
🎓Course certificate
📘 29 lessons⏱ 1-2 evenings🎓 Intermediate
🎯 Mission
Master Docker Basics
⚡+340XP
🏆CertificatePDF
🎓Course complete
Progress0 / 29 · 0%
Next up: What is Docker

Course program

01

Концепции и первый запуск

0 / 5 lessons
⌄
  1. 01

    What is Docker

    Container•Image•Why Docker⚡ +10
    ▶ Now
  2. 02

    Working with containers: ps, stop, rm

    docker ps -a•stop/rm•Container lifecycle⚡ +10
    Open
  3. 03

    Images from Docker Hub: pull and tags

    docker pull•Version tag•Careful with latest⚡ +10
    Open
  4. 04

    Running a container with a name: --name, -d, -it

    --name•-d background•-it interactive⚡ +10
    🔒 Pro
  5. 05

    Port forwarding: -p

    -p host:container•Why a port•Multiple ports⚡ +10
    🔒 Pro
02

Основы Dockerfile

0 / 5 lessons
⌄
  1. 06

    Dockerfile: FROM and WORKDIR

    FROM base•WORKDIR working folder•Instruction order⚡ +10
    🔒 Pro
  2. 07

    Dockerfile: COPY and RUN

    COPY files•RUN command•Layers⚡ +10
    🔒 Pro
  3. 08

    Dockerfile: CMD and EXPOSE

    CMD startup•EXPOSE port•JSON format⚡ +10
    🔒 Pro
  4. 09

    Dockerfile: ENV and ARG

    ENV variable•ARG build argument•The difference⚡ +10
    🔒 Pro
  5. 10

    Dockerfile: the difference between ENTRYPOINT and CMD

    ENTRYPOINT fixed•CMD replaceable•Combination⚡ +10
    🔒 Pro
03

Сборка, теги и слои

0 / 5 lessons
⌄
  1. 11

    docker build: building an image

    docker build•-t tag•Build context⚡ +10
    🔒 Pro
  2. 12

    Tagging an image and pushing to Docker Hub

    docker tag•docker push•Registry format⚡ +10
    🔒 Pro
  3. 13

    Docker layers and cache

    What a layer is•Cache speeds up•Efficient ordering⚡ +10
    🔒 Pro
  4. 14

    The .dockerignore file

    What .dockerignore is•What to exclude•Smaller build⚡ +10
    🔒 Pro
  5. 15

    Multi-stage build

    Why multi-stage•AS stage name•Lightweight result⚡ +10
    🔒 Pro
04

Тома, порты и переменные

0 / 5 lessons
⌄
  1. 16

    Volumes: persisting data

    Why a volume•The -v flag•Named volume⚡ +10
    🔒 Pro
  2. 17

    Environment variables: -e and --env-file

    -e variable•--env-file file•Secrets⚡ +10
    🔒 Pro
  3. 18

    A command inside a container: docker exec

    docker exec•-it interactive•Running container⚡ +10
    🔒 Pro
  4. 19

    Container networks: docker network

    docker network•Internal DNS•Container connectivity⚡ +10
    🔒 Pro
  5. 20

    Container status: inspect, logs, stats

    docker inspect•docker logs -f•docker stats⚡ +10
    🔒 Pro
05

Docker Compose

0 / 5 lessons
⌄
  1. 21

    What is Docker Compose

    Why Compose•docker-compose.yml•One command⚡ +10
    🔒 Pro
  2. 22

    docker-compose.yml: the services section

    The services section•image and ports•YAML indentation⚡ +10
    🔒 Pro
  3. 23

    Compose: build, volumes, and environment

    build context•volumes•environment variable⚡ +10
    🔒 Pro
  4. 24

    Compose: depends_on and healthcheck

    depends_on order•healthcheck•Startup order⚡ +10
    🔒 Pro
  5. 25

    Compose: persisting data and networks

    volumes section•networks section•Persisting data⚡ +10
    🔒 Pro
06

Мини-проект

0 / 4 lessons
⌄
  1. 26

    Project: Dockerfile for a Node.js API

    Full Dockerfile•Cache optimization•Building the image⚡ +10
    🔒 Pro
  2. 27

    Project: a Compose file (Node + PostgreSQL)

    app and db services•depends_on•Named volume⚡ +10
    🔒 Pro
  3. 28

    Project: cleanup commands

    system prune•Unused objects•Freeing space⚡ +10
    🔒 Pro
  4. 29

    Project: final workflow commands

    Full workflow•Build, run, clean up•Compose finale
    Course complete
    🔒 Pro