Docker Intro – 2 Days
Start Date: Please contact us
Course Overview
Docker is a minimal Linux sandbox environment, an open-source engine which automates the deployment of applications as highly portable, self-sufficient containers which are independent of hardware, language, framework, packaging system and hosting provider.
Docker containers are designed to run isolated services or applications with the ability to share OS, resources, data and more
Secondary Goals User will learn
What is Docker?
The concept and architecture of Docker
How to install & use Docker
Upload self-made container to public registry
What are container
Create and execute Docker containers
What are Docker files
How to use existing container
How to create and publish containers (Hub)
What is the difference between Docker and virtual machines
How to install Docker
How to install use Docker images
How to create and publish custom-made Docker images
What is docker Swarm / scale/ services
Docker compose
Expectations and Goals
Users will know what is Docker, how to install, create, publish and deploy both Docker images & containers.
At the end of this session users will create deploy and consume Docker containers and will get familiar with docker file.
Course Outline:
1. Docker introduction
• What is Docker
• Docker architecture
• Why Docker is better than other VM’s
• Docker use cases
• Docker limitations
2. Architecture
• What is LXC
• Cgroups
• Union File system (AUFS)
• Kernel Namespaces
• Controlled OS resources
• Docker images
• Docker containers
• Repositories
3. Images & containers
• What are images
• What are containers
• The difference between the 2
• Using docker hub registry
• Building images
4. Advanced stuff
• Install Docker
• What is Docker file
– Building image from a Docker file
• Download and install Docker images/containers
• Docker as daemon
• Docker registry & Hub
• Docker container lifecycle
• Container lifetime
• Container volumes
• Build
• Run
– Background / detached
– In foreground
– Interactive
– Expose ports for communication
• Commit
• Pull
• Push
• Diff6. Docker swarm
• Swarm – Build in Orchestration
• Scale up
• Scale down
• Automation
• Blue/green deploy (no downtime)
• Clustering
• Services
• Manager/worker7. Docker compose
• What is docker compose
• Yml syntax
• Services/ multiple containers
8. Hands on
• Practice all we have learned. In this hands on we will build and deploy docker container to cloud provider and register them under the docker registry.
9. Summary