Docker Kubernetes Lab Handbook¶
This handbook contains some docker and kubernetes lab tutorials. It will be useful if you are learning docker or kubernetes now. The labs in this tutorial are all well documented, include the required environments, steps, detailed input and output.
Warning
This is just a lab guide, not a documentation for docker or kubernetes, please go to their online documentation sites for more details about what docker or kubernetes is and how does it work.
Table of Contents¶
- Lab Environment Quick Setup
- Docker
- Docker Engine Basic
- Docker Machine on LocalHost
- Docker Machine with Amazon AWS
- Docker Command Line Step by Step
- Build a Base Image from Scratch
- Docker Network Overview
- Linux Network Namespace Introduction
- Bridge Networking Deep Dive
- Container Port Mapping in Bridge networking
- Customize the docker0 bridge
- Create a new bridge network and connect with container
- Host Network Deep Dive
- Multi-Host Overlay Networking with Etcd
- Multi-Host Overlay Networking with Open vSwitch
- Multi-Host Networking Overlay with Calico
- Multi-Host Networking Overlay with Flannel
- Multi-host networking with Contiv
- Docker Compose Networking Deep Dive
- Docker Compose Load Blancing and Scaling
- Swarm Mode: Create a Docker Swarm Cluster
- Docker Swarm: Create and Scale a Service
- Docker Swarm with Load Balancing and Scaling
- Docker Swarm Topology Deep Dive
- Kubernetes
- CoreOS
Feedback¶
Please go to github https://github.com/xiaopeng163/docker-k8s-lab and create issue or PR, thanks.