Docker Container Essentials
Learn about Docker from Instructors with Real World Expertise.
A 3 day intermediate course covering all the core features of Docker containers. Emphasis is placed on best practices and how to secure Docker installations and containers.
Docker Training Overview:
Linux containers are changing the way companies think about service development and deployment. Containers play a vital role in the modern data-center, and Docker is leading the way.
This Docker Training covers all the core features including: container creation and management, interacting with Docker hub, using Dockerfile to create and manage custom images, advanced networking (how to safely expose container services to the world, and link containers), the use of volumes to manage persistent data, and Docker Compose to build multi-container applications.
Emphasis is placed on best practices and how to secure installations and containers. The course culminates with comprehensive labs where students use Docker, Git, and a continuous integration server to automate the testing of containerized applications.
Many large companies are moving an increasing number of applications to run inside containers. Containers can provide a high level of security while also making maximal use of hardware allowing higher density than traditional VMs. Docker is a dominant force in Linux containers and the core building block for nearly all higher level container management systems. This training will get sysadmins proficient with Docker so that they can immediately be productive as organizations continue to move applications onto containers.
Target Audience:
- Architects
- System Administrators
- Developers
Structure: 50% theory 50% hands on lab exercises
Prerequisites: Proficiency with the Linux CLI. A broad understanding of Linux system administration
Duration: 3 days
Course Outline:
Container Technology Overview
Overview:
- Application Management Landscape
- Application Isolation
- Container Resource Control & Security
- Container Types
- Container Ecosystem
Labs:
- Container Concepts LXC
- Container Concepts Systemd
Managing Containers
Overview:
- Installation
- Control Socket
- Creating a New Container
- Listing Containers
- Viewing Container Operational Details
- Running Commands in an Existing Container
- Interacting with a Running Container
- Stopping, Starting, and Removing Containers
Labs:
- Basics
- Installation via Docker Machine
- Configure a Docker Container to Start at Boot
Managing Images
Overview:
- Images
- Listing and Removing Images
- Searching for Images
- Downloading Images
- Committing Changes
- Uploading Images
- Export/Import Images
- Save/Load Images
Labs:
- Images
- Platform Images
Creating Images With Dockerfile
Overview:
- Dockerfile
- Caching
- Docker Build
- Dockerfile Instructions
- ENV and WORKDIR
- Running Commands
- Getting Files into the Image
- Defining Container Executable
- Best Practices
Labs:
- Dockerfile Fundamentals
Networking
Overview:
- Overview
- Data-Link Layer Details
- Network Layer Details
- Hostnames and DNS
- Local Host <–> Container
- Container <–> Container (same node)
- Container <–> Container: Links
- Container <–> Container: Private Network
- Managing Private Networks
- Remote Host <–> Container
- Multi-Host Networks with Overlay Driver
Labs:
- Networking
- Ports and Links
- Multi-Host Networks
Volumes
Overview:
- Volume Concepts
- Creating and Using Volumes
- Managing Volumes (cont.)
- Changing Data in Volumes
- Removing Volumes
- Backing up Volumes
- SELinux Considerations
- Mapping Devices
Labs:
- Volumes
Docker Compose/Swarm
Overview:
- Concepts
- Compose CLI
- Defining a Service Set
Labs:
- Compose
- Swarm
Continuous Integration With Gitlab, Gitlab CI and Docker Lab Tasks
Overview:
- GitLab and GitLab CI Setup
- Unit and Functional Tests