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 course covers all the core features of Docker including: container creation and management, interacting with Docker hub, using Dockerfile to create and manage custom images, advanced Docker networking (how to safely expose container services to the world, and link containers), the use of Docker volumes to manage persistent data, and Docker Compose to build multi-container applications. Emphasis is placed on best practices and how to secure Docker 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.
Prerequisites
Proficiency with the Linux CLI. A broad understanding of Linux system administration.
Course duration
3 days
Supported Distributions:
Red Hat Enterprise Linux 7
Ubuntu 16.04 LTS
Course outline
- Container Technology Overview
- Application Management Landscape
- Application Isolation
- Resource Measurement and Control
- Container Security
- Container Security
- Open Container Initiative
- Docker Ecosystem
- Docker Ecosystem (cont.)
Lab Tasks
- Container Concepts runC
- Container Concepts Systemd
- Installing Docker
- Installing Docker
- Docker Architecture
- Starting the Docker Daemon
- Docker Daemon Configuration
- Docker Control Socket
- Enabling TLS for Docker
- Validating Docker Install
Lab Tasks
- Installing Docker
- Install Docker via Docker Machine
- Protecting Docker with TLS
- Managing Containers
- 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
- Copying files in/out of Containers
- Inspecting and Updating Containers
Lab Tasks
- Managing Containers
- Configure a docker container to start at boot.
- Managing Images
- Docker Images
- Listing and Removing Images
- Searching for Images
- Downloading Images
- Committing Changes
- Uploading Images
- Export/Import Images
- Save/Load Images
Lab Tasks
- Docker Images
- Docker Platform Images
- Creating Images with Dockerfile
- Dockerfile
- Caching
- docker image build
- Dockerfile Instructions
- ENV and WORKDIR
- Running Commands
- Getting Files into the Image
- Defining Container Executable
- Best Practices
Lab Tasks
- Dockerfile Fundamentals
- Docker Volumes
- Volume Concepts
- Creating and Using Internal Volumes
- Creating and Using External Volumes
- Managing Volumes (cont.)
- Changing Data in Volumes
- Removing Volumes
- Backing up Volumes
- SELinux Considerations
- Mapping Devices
Lab Tasks
- Docker Volumes
- Docker Compose/Swarm
- Concepts
- Compose CLI
- Defining a Service Set
- Docker Swarm Proxy (Legacy)
- Docker Engine Swarm Mode (Modern)
- Creating a Swarm
- Creating Services
Lab Tasks
- Docker Compose
- Docker Swarm Proxy
- Docker Engine Swarm Mode
- Docker Networking
- Overview
- Data-Link Layer Details
- Network Layer Details
- Hostnames and DNS
- Service Reachability
- Container to Container Communication
- Container to Container: Links
- Container to Container: Private Network
- Managing Private Networks
- Remote Host to Container
- Multi-host Networks with Overlay Driver
Lab Tasks
- Docker Networking
- Exposing Ports
- Docker Links
- Docker Networking
- Multi-host Networks
- A.Docker Registry
Lab Tasks
- Docker Registry
- Docker Registry (secured)
- Docker Content Trust
- B. Continuous Integration with GitLab, GitLab CI, and Docker
Lab Tasks
- GitLab and GitLab CI Setup
- Unit and Functional Tests
|