LinuxTraining.com

.

GL340 - Docker

Upcoming GL340 Classes

  1. Remote Classroom Training

    Jul 22 – Jul 24 2024
    Register now
  2. Remote Classroom Training

    Aug 26 – Aug 28 2024
    Register now
More...

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.

Version: F00

Prerequisites:

Proficiency with the Linux CLI. A broad understanding of Linux system administration.

Supported Distributions:

Red Hat Enterprise Linux 7

Course Outline:

  1. Container Technology Overview
    1. Application Management Landscape
    2. Application Isolation
    3. Resource Measurement and Control
    4. Container Security
    5. Container Security
    6. Open Container Initiative
    7. Docker Ecosystem
    8. Docker Ecosystem (cont.)
    Lab Tasks
    1. Container Concepts runC
    2. Container Concepts Systemd
  2. Installing Docker
    1. Installing Docker
    2. Docker Architecture
    3. Starting the Docker Daemon
    4. Docker Daemon Configuration
    5. Docker Control Socket
    6. Enabling TLS for Docker
    Lab Tasks
    1. Installing Docker
    2. Install Docker via Docker Machine
    3. Protecting Docker with TLS
  3. Managing Containers
    1. Creating a New Container
    2. Listing Containers
    3. Viewing Container Operational Details
    4. Running Commands in an Existing Container
    5. Interacting with a Running Container
    6. Stopping, Starting, and Removing Containers
    7. Copying files in/out of Containers
    8. Inspecting and Updating Containers
    Lab Tasks
    1. Managing Containers
    2. Configure a docker container to start at boot.
  4. Managing Images
    1. Docker Images
    2. Listing and Removing Images
    3. Searching for Images
    4. Downloading Images
    5. Committing Changes
    6. Uploading Images
    7. Export/Import Images
    8. Save/Load Images
    Lab Tasks
    1. Docker Images
    2. Docker Platform Images
  5. Creating Images with Dockerfile
    1. Dockerfile
    2. Caching
    3. docker build
    4. Dockerfile Instructions
    5. ENV and WORKDIR
    6. Running Commands
    7. Getting Files into the Image
    8. Defining Container Executable
    9. Best Practices
    Lab Tasks
    1. Dockerfile Fundamentals
  6. Docker Networking
    1. Overview
    2. Data-Link Layer Details
    3. Network Layer Details
    4. Hostnames and DNS
    5. Local Host <--> Container
    6. Container <--> Container (same node)
    7. Container <--> Container: Links
    8. Container <--> Container: Private Network
    9. Managing Private Networks
    10. Remote Host <--> Container
    11. Multi-host Networks with Overlay Driver
    Lab Tasks
    1. Docker Networking
    2. Docker Ports and Links
    3. Multi-host Networks
  7. Docker Volumes
    1. Volume Concepts
    2. Creating and Using Volumes
    3. Managing Volumes (cont.)
    4. Changing Data in Volumes
    5. Removing Volumes
    6. Backing up Volumes
    7. SELinux Considerations
    8. Mapping Devices
    Lab Tasks
    1. Docker Volumes
  8. Docker Compose/Swarm
    1. Concepts
    2. Compose CLI
    3. Defining a Service Set
    4. Docker Swarm (Legacy)
    Lab Tasks
    1. Docker Compose
    2. Docker Swarm
  1. Docker Registry Lab Tasks
    1. Docker Registry
    2. Docker Registry (secured)
  2. Continuous Integration with GitLab, GitLab CI, and Docker Lab Tasks
    1. GitLab and GitLab CI Setup
    2. Unit and Functional Tests