Getting started with Docker and Swarm
summary
Shows how to get from running a single container to a multi-service app: examples use "docker run --rm -it ubuntu bash", a Dockerfile based on python:alpine that installs requirements and runs Flask, a docker-compose.yml that builds and exposes port 5000, and a Redis service producing the image mattcen/simplewebapp. Demonstrates docker build -t, docker compose up -d, docker compose exec redis redis-cli to read an incrementing counter, and docker compose down. Notes Docker Swarm accepts the same stack/compose format for multi-host deployment.
AI-written summary · about
chapters (12)
- 0:00Start
- 0:21Getting Started with Docker and Swarm
- 1:23Docker Is What Is Known as a Container Runtime
- 2:55Install Docker
- 3:26Run a Docker Container
- 4:40How Container Images Are Created
- 5:00Docker Files
- 6:43Docker Compose
- 6:55Use Docker Compose
- 7:45Dockerfile
- 10:54Docker Swarm
- 11:57Migrating to Containers
related talks
14mGetting started with Docker and Swarm
28mMulti-Container Applications with Docker Compose
30mSimplify All the Things with Docker Compose
01h 18mEmbracing Docker simplicity - while harnessing platform power
28mDocker-Composing Your Way to a Better Development Environment
01h 00mDocker, FROM scratch
50mComposing your Containerized Microservices
28mHow to Get Started with Docker
