Goals
- Know the characteristics of a Linux container and discover Docker
- Install and use Docker
- Master the creation of images
- Know and configure a Registry (public and private)
- Master the network concepts of Docker (drivers, links)
- Understand and master data persistence (drivers, volumes)
- Mastering the notion of Docker service with Docker-compose
- Using Docker Swarm to deploy a production-oriented stack
Program
The different forms of virtualization and their concept
Presentation of the advantages and use cases of containers
Presentation of Docker and its architecture
Install Docker
Use basic Docker client commands
Explain a container and its lifecycle
Instantiate a container (interactive mode, detached mode)
Administer and monitor a container from the docker host (exec, inspect, logs …)
Practical workshop : Setting up Docker, starting and administering a first micro service
Presentation of the concept of Docker images (Docker Hub, custom images)
The different methods of designing a Docker image
Create an image from a container (commit)
Create an image from a Dockerfile
Instructions in a Dockerfile (FROM, COPY, ADD, EXPOSE, ENTRYPOINT, CMD)
Manage the lifecycle of images (labels, tags, minor / major versioning)
Select and retrieve an image from the « Docker Hub » community
The concept of layers and cache ( optimization)
The registry and image storage (private registry, « Docker Hub » registry)
Practical workshop : Creation, installation of images. Setting up a private registry and managing its images
The container in its network (Docker network stack)
Port forwarding (PAT)
Connecting containers (links)
The different networks offered by Docker (drivers, impacts and partitions)
Practical workshop: Making containers communicate, setting up a LEMP from 3 containers: PHP, MySQL, nginx
The principle of volumes associated with a container
Create and persist docker volumes
Manage configuration models and their best practices
Practical workshop: Create volumes on your Docker host to persist and visualize container data
Introduction to DevOps
Docker-compose: the solution to create, assemble and administer your container service
Set up execution control
Practical workshop: Setting up a LEMP with Docker-compose from 3 containers previously discussed: PHP, MySQL, nginx
Docker-machine challenges (quickly create your Docker platform before going into production)
The Swarm orchestrator: nodes, services
Deployment of services and stacks in a Swarm
How to secure the Docker infrastructure (TLS / SSL, Apparmor and SeLinux)
Management interface (Portainer)
Presentation of deployment and configuration management tools (ansible, puppet, salt)
Presentation of the different orchestrators
Demonstrations: Create a Docker Swarm cluster. Deploy a Docker stack. Administer the stack (scale)
Duration
3 days
Price
£ 1634
Audience
Systems Administrators
Prerequisites
Basics of system administration on Linux and Windows
Reference
OUT100016-F
Sessions
Contact us for more informations about session date