CodeDala
Home
Courses
Paths
Marketplace
How it works
Pricing
🌐
KZ
RU
EN
Log in
Start free
Order a project
🐳
💻 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
⚡
+340
XP
🏆
Certificate
PDF
🎓
Course complete
Progress
0 / 29 · 0%
Next up:
What is Docker
Start the project →
Course program
01
Концепции и первый запуск
0 / 5 lessons
⌄
01
What is Docker
Container
•
Image
•
Why Docker
⚡ +10
▶ Now
02
Working with containers: ps, stop, rm
docker ps -a
•
stop/rm
•
Container lifecycle
⚡ +10
Open
03
Images from Docker Hub: pull and tags
docker pull
•
Version tag
•
Careful with latest
⚡ +10
Open
04
Running a container with a name: --name, -d, -it
--name
•
-d background
•
-it interactive
⚡ +10
🔒 Pro
05
Port forwarding: -p
-p host:container
•
Why a port
•
Multiple ports
⚡ +10
🔒 Pro
02
Основы Dockerfile
0 / 5 lessons
⌄
06
Dockerfile: FROM and WORKDIR
FROM base
•
WORKDIR working folder
•
Instruction order
⚡ +10
🔒 Pro
07
Dockerfile: COPY and RUN
COPY files
•
RUN command
•
Layers
⚡ +10
🔒 Pro
08
Dockerfile: CMD and EXPOSE
CMD startup
•
EXPOSE port
•
JSON format
⚡ +10
🔒 Pro
09
Dockerfile: ENV and ARG
ENV variable
•
ARG build argument
•
The difference
⚡ +10
🔒 Pro
10
Dockerfile: the difference between ENTRYPOINT and CMD
ENTRYPOINT fixed
•
CMD replaceable
•
Combination
⚡ +10
🔒 Pro
03
Сборка, теги и слои
0 / 5 lessons
⌄
11
docker build: building an image
docker build
•
-t tag
•
Build context
⚡ +10
🔒 Pro
12
Tagging an image and pushing to Docker Hub
docker tag
•
docker push
•
Registry format
⚡ +10
🔒 Pro
13
Docker layers and cache
What a layer is
•
Cache speeds up
•
Efficient ordering
⚡ +10
🔒 Pro
14
The .dockerignore file
What .dockerignore is
•
What to exclude
•
Smaller build
⚡ +10
🔒 Pro
15
Multi-stage build
Why multi-stage
•
AS stage name
•
Lightweight result
⚡ +10
🔒 Pro
04
Тома, порты и переменные
0 / 5 lessons
⌄
16
Volumes: persisting data
Why a volume
•
The -v flag
•
Named volume
⚡ +10
🔒 Pro
17
Environment variables: -e and --env-file
-e variable
•
--env-file file
•
Secrets
⚡ +10
🔒 Pro
18
A command inside a container: docker exec
docker exec
•
-it interactive
•
Running container
⚡ +10
🔒 Pro
19
Container networks: docker network
docker network
•
Internal DNS
•
Container connectivity
⚡ +10
🔒 Pro
20
Container status: inspect, logs, stats
docker inspect
•
docker logs -f
•
docker stats
⚡ +10
🔒 Pro
05
Docker Compose
0 / 5 lessons
⌄
21
What is Docker Compose
Why Compose
•
docker-compose.yml
•
One command
⚡ +10
🔒 Pro
22
docker-compose.yml: the services section
The services section
•
image and ports
•
YAML indentation
⚡ +10
🔒 Pro
23
Compose: build, volumes, and environment
build context
•
volumes
•
environment variable
⚡ +10
🔒 Pro
24
Compose: depends_on and healthcheck
depends_on order
•
healthcheck
•
Startup order
⚡ +10
🔒 Pro
25
Compose: persisting data and networks
volumes section
•
networks section
•
Persisting data
⚡ +10
🔒 Pro
06
Мини-проект
0 / 4 lessons
⌄
26
Project: Dockerfile for a Node.js API
Full Dockerfile
•
Cache optimization
•
Building the image
⚡ +10
🔒 Pro
27
Project: a Compose file (Node + PostgreSQL)
app and db services
•
depends_on
•
Named volume
⚡ +10
🔒 Pro
28
Project: cleanup commands
system prune
•
Unused objects
•
Freeing space
⚡ +10
🔒 Pro
29
Project: final workflow commands
Full workflow
•
Build, run, clean up
•
Compose finale
🎓
Course complete
🔒 Pro
Docker Basics — online coding course