Curso Docker Containerization

  • DevOps | CI | CD | Kubernetes | Web3

Curso Docker Containerization

32 horas
Visão Geral

Curso Docker Containerization. Os contêineres Docker são semelhantes, em alguns aspectos, à ativação de máquinas virtuais para cada um de seus serviços; no entanto, o mecanismo Docker procura evitar as despesas gerais de execução de sistemas operacionais totalmente virtualizados para cada instância. Em vez disso, o Docker inclui o aplicativo e suas dependências em contêineres discretos, no kernel do sistema operacional base, fazendo melhor uso da RAM do sistema e de outros recursos. Em termos de integração com DevOps, o Docker é usado no estágio de implantação contínua. Essa abordagem foi projetada para facilitar o desenvolvimento de software, os testes, o gerenciamento de configuração e a implantação de aplicativos, seja seu código executado localmente ou na nuvem.

O Curso Docker Containerization proporcionará experiência prática na criação de contêineres leves e de fácil implantação para seus projetos de desenvolvimento de software, orientado por um especialista em DevOps. explora detalhadamente o Docker Compose, o Docker Machine e o Docker Swarm. Este workshop tem como objetivo levar suas habilidades existentes com Docker para o próximo nível de dimensionamento de sua arquitetura DevOps com segurança e alto desempenho.

Objetivo

Ao participar do Curso Docker Containerization, os participantes aprenderão:

  • O que é Docker e quando usá-lo
  • Arquitetura de contêineres e microsserviços
  • Obtendo, instalando e configurando o Docker
  • Arquitetura Docker
  • Criando imagens Docker
  • Iniciando e Parando Contêineres
  • Integração Contínua para Docker
  • Docker Compose - definindo e executando aplicativos Docker de vários contêineres
  • Hosts virtuais com máquina Docker
  • Docker Engine em modo Swarm
Publico Alvo
  • Desenvolvedores de software e administradores de sistemas
Pre-Requisitos
  • Experiência de uso de Windows ou Linux com linha de comando
Materiais
Inglês/Português/Lab Prático
Conteúdo Programatico

Introduction

  1. What is Docker?
  2. Alternatives to Docker
  3. The evolution of containers
  4. How containers work
  5. Containers and Microservices Architecture

Getting started

  1. Installing Docker
  2. Configuring Docker
  3. Running your first container

Docker Components

  1. Docker Client
  2. Docker Daemon

Docker Images

  1. What is an image
  2. What does an image contain
  3. Repositories
  4. Versioning and Tags
  5. Docker images

Docker Hub

  1. What is the Docker Hub
  2. Creating an account

Docker run

  1. Overview
  2. Terminal Access
  3. Detached mode

Processes

  1. Process Ids
  2. Within a container
  3. PID
  4. Docker ps

Logging

  1. Docker logs
  2. follow

Port mapping

  1. Overview
  2. Simple port mapping

Building Images with Container Commits

  1. Read Only and Write layers, Copy on write
  2. Docker commit

Dockerfile

  1. Introduction
  2. Instructions and images
  3. FROM
  4. RUN
  5. Docker build
  6. obuild contexts
  7. CMD
  8. EXEC
  9. ENTRYPOINT

Starting and Stopping Containers

  1. Docker ps
  2. Docker start
  3. Docker stop

Getting terminal access

  1. Docker exec

Removing Images

  1. Docker rmi

Docker Hub Repositories

  1. Docker tag
  2. Docker push
  3. Docker pull

Volumes

  1. Docker run /v
  2. VOLUME
  3. Do’s and Don’ts

Port Mapping

  1. Docker run -P
  2. Docker run -p
  3. EXPOSE

Linking

  1. Introduction
  2. Docker --link

Continuous Integration

  1. Building Images
  2. Docker Hub Auto Build

Debugging Containers

  1. Using a volume for logging
  2. Docker inspect

Docker Daemon

  1. Starting and Stopping the Daemon
  2. Configuration
  3. Logging Level

Docker Compose

  1. What is Docker Compose and when should I use it
  2. Swarm Mode vs non Swarm Mode

Installation

  1. Installing docker-compose
  2. Command line completion

Introduction to docker-compose.yml

  1. Validation using docker-compose config

Running a multi-service application

  1. Starting containers (up)
  2. Stopping Container (down)
  3. Listing Processes
  4. Service names vs Container Names

Other Service Lifecycle commands

  1. stop
  2. pause
  3. unpause
  4. restart
  5. kill

Accessing details of a service

  1. port
  2. top

More useful Docker Compose commands

  1. exec
  2. images
  3. pull
  4. push
  5. rm
  6. run

Logging

  1. using docker-compose logs

Other commands

  1. bundle
  2. events

Environment Variables

  1. System environment variables
  2. .env file

Building services using docker-compose.yml

  1. File format versions
  2. Building Images (build)
  3. Specifying Images
  4. Healthchecks and Dependencies
  5. Network Configuration and Ports
  6. Commands and Entrypoints
  7. Environment Variables
  8. Isolation Technologies
  9. Labels
  10. Service specific logging
  11. Secrets
  12. Controlling Shutdown Signals
  13. Volumes
  14. Restart policies

Docker Machine

  1. What is Docker Machine
  2. Overview of Docker Machine

Installation

  1. Configuring a terminal
  2. Choosing a base operating system
  3. Install a docker machine on VirtualBox
  4. AWS Docker Machine
  5. Digital Ocean docker machine

Querying machine information

  1. ip
  2. inspect
  3. url
  4. status

Starting and Stopping a docker machine

  1. start
  2. stop
  3. restart
  4. kill

Accessing a docker machine

  1. ssh
  2. scp

Upgrading a docker machine

Docker Swarm

What is Docker Swarm

  1. Cluster management
  2. Decentralized design
  3. Declarative service model
  4. Scaling
  5. Desired state reconciliation
  6. Multi-host networking
  7. Service discovery
  8. Load balancing
  9. Secure by default
  10. Rolling updates

Key Concepts

  1. Swarm Mode
  2. Manager Node
  3. Worker Nodes
  4. Global Services
  5. Worker Services
  6. Tasks
  7. Ingress Load Balancing

Single node swarm

Monitoring a swarm

  1. Using portainer.io
  2. 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

  1. 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
TENHO INTERESSE

Cursos Relacionados

Curso Ansible Red Hat Basics Automation Technical Foundation

16 horas

Curso Terraform Deploying to Oracle Cloud Infrastructure

24 Horas

Curso Ansible Linux Automation with Ansible

24 horas

Ansible Overview of Ansible architecture

16h

Advanced Automation: Ansible Best Practices

32h