DOCKER
An introduction (try-out)
Matthias Noback
@matthiasnoback
info@matthiasnoback.nl
DOCKER
Take it easy
CONTAINERS
Processes
Your application
MySQL
Varnish
HAProxy
LINUX
Namespaces and Cgroups
Processes
Networking
Mounts
Resources
Users
LINUX
Features and programs
unshare
nsenter
cgcreate
cgexec
seccomp-bpf
Julia Evans: What even is a container?
DOCKER
A set of CLI scripts
docker build
docker run
docker volume
docker network
...
localhost
DOCKER
A daemon and a client
Docker
daemon
client
container container container
some-other-machine
DOCKER
A daemon and a client
Docker
daemon
client
container container container
IMAGES
Container blueprints
Files
Exposed ports
Volumes
IMAGES
Pull or build
Image
registry
image
Docker-
file
image
pull from use to build
IMAGE REGISTRY
hub.docker.com
IMAGE REGISTRY
Push your own images
Image
registry
image
push to
Docker-
file
image
use to build
CONTAINERS
Linked through
Network
Volume mounts
CONTAINERS
Configured through
Build process
Environment variables
Volume mounts
ASSIGNMENTS/*.MD
Playing with docker and Dockerfiles
https://github.com/matthiasnoback/docker-workshop/
CONTAINERS
Advantages
Self-contained ;)
Designed to be immutable
Infrastructure as code
Configuration has not been abstracted
Provisioning new servers is easy
WORKSHOP:
INTEGRATING
BOUNDED CONTEXTS
Service integration patterns,
messaging, Docker, microservices
https://nobacksoffice.paydro.com/
integrating-bounded-contexts/c/
IBUILDINGS
20-21 april, Hilversum
€444 €399,60

Docker workshop