Visão Geral
Nosso curso de treinamento avançado do Docker prático e ministrado por instrutor explora o Docker Compose, o Docker Machine e o Docker Swarm em detalhes.
Este workshop visa levar suas habilidades existentes com o Docker para o próximo nível - você será guiado por um especialista em microsserviços no uso dos principais componentes do Docker para dimensionar sua arquitetura DevOps com segurança e alto desempenho.
Este curso está disponível para entrega personalizada no local/remoto como um workshop autônomo ou parte de um programa de treinamento mais amplo.
Conteúdo Programatico
Docker Compose
- What is Docker Compose and when should I use it
- Swarm Mode vs non Swarm Mode
Installation
- Installing docker-compose
- Command line completion
Introduction to docker-compose.yml
- Validation using docker-compose config
Running a multi-service application
- Starting containers (up)
- Stopping Container (down)
- Listing Processes
- Service names vs Container Names
Other Service Lifecycle commands
- stop
- pause
- unpause
- restart
- kill
Accessing details of a service
- port
- top
More useful Docker Compose commands
- exec
- images
- pull
- push
- rm
- run
Logging
- using docker-compose logs
Other commands
- bundle
- events
Environment Variables
- System environment variables
- .env file
Building services using docker-compose.yml
- File format versions
- Building Images (build)
- Specifying Images
- Healthchecks and Dependencies
- Network Configuration and Ports
- Commands and Entrypoints
- Environment Variables
- Isolation Technologies
- Labels
- Service specific logging
- Secrets
- Controlling Shutdown Signals
- Volumes
- Restart policies
Docker Machine
- What is Docker Machine
- Overview of Docker Machine
Installation
- Configuring a terminal
- Choosing a base operating system
- Install a docker machine on VirtualBox
- AWS Docker Machine
- Digital Ocean docker machine
Querying machine information
- ip
- inspect
- url
- status
Starting and Stopping a docker machine
- start
- stop
- restart
- kill
Accessing a docker machine
- ssh
- scp
Upgrading a docker machine
Docker Swarm
What is Docker Swarm
- Cluster management
- Decentralized design
- Declarative service model
- Scaling
- Desired state reconciliation
- Multi-host networking
- Service discovery
- Load balancing
- Secure by default
- Rolling updates
Key Concepts
- Swarm Mode
- Manager Node
- Worker Nodes
- Global Services
- Worker Services
- Tasks
- Ingress Load Balancing
Single node swarm
Monitoring a swarm
- Using portainer.io
- Other options
Multi node swarm
Modifying a swarm
- Adding nodes
- Removing nodes
Deploying services
- Deploying services
- Inspecting services
- Scaling services
- Removing services
- Apply rolling updates
Removing Nodes
- Draining a node
Routing Mesh
Managing Secrets
Autolocking
Overlay Networking
Raft
Docker Compose in Swarm Mode
docker-compose.yml
- deploy
- Creating a registry
- stack deploy