Docker
Course Objective
T
hrough this course, you will learn:
Docker – DevOps Techlab – is leading the way as containers play a very vital role in the modern data-center today.
The core features this course covers includes: container creation and management and interacting with Docker hub, Dockerfile is used to create, manage and custom images, advanced Docker networking (how to safely expose container services, and link containers)
The course involves comprehensive labs where you use Docker, Git, and a continuous integration server to automate the testing of containerized applications.
Docker volumes to manage persistent data, and Docker Compose to build multi-container applications
Delivery Method:
- Instructor
- Hands on Lab
Duration of Boot Camp:
- 3 day
Managing Containers
- Installing Docker
- Docker 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
Managing Images
- Docker Images
- Listing and Removing Images
- Searching for Images
- Downloading Images
- Committing Changes
- Uploading Images
- Export/Import Images
- Save/Load Images
- Name and Tag
- Managing Public and Private Image in Dockerhub
- Events
- Logs
- Image History
Creating Images with Docker file
- Docker file
- Caching
- docker build
- Dockerfile Instructions
- ENV and WORKDIR Directive
- CMD and Entrypoint Directive
- User and Expose Directive
- Running Commands
- Order of Execution
- Getting Files into the Image
- Defining ContainerExecutable
- Container Memory & CPU Limitation
Docker Networking
- Overview
- Hostnames and DNS
- Local Host <–> Container
- Container <–> Container
- Container <–> Container: Links
- Remote Host <–> Container
Docker Volumes
- Volume Concepts
- Creating and Using Volumes
- Changing Data in Volumes
- Removing Volumes
- Backing up Volumes
- Volume mapping to host
Docker Compose
- Introduction
- Docker Compose example using yml file