Docker Tutorial for Beginners - Learn Docker in 2020
In this course you will learn Docker through a series of lectures that use animation, illustration and some fun analogies that simply complex concepts, we have demos that will show how to install and get started with Docker and most importantly we have hands-on labs that you can access right in your browser.
In this tutorial, you will learn:
What is Docker ?
How DOCKER works | Docker Architecture
Benefits of DOCKER | Why to use DOCKER | Advantages of DOCKER
How to install DOCKER on LINUX ? Step by Step
How to install DOCKER on WINDOWS ? Step by Step
How to install DOCKER on MAC ? Step by Step | How to Install Docker
Docker FAQ | Docker Interview Questions | Docker for Beginners
What are Docker Images | How to run Docker Images | Docker Images Beginner Tutorial
What are Docker Containers | How to create Docker Containers | Basic Commands
How to run Jenkins on Docker container | How to create Jenkins Volumes on Docker | Beginners
What is Dockerfile | How to create and build Dockerfile | Dockerfile Basic Commands
What is Docker Compose | How to create docker compose file | How to use Compose
What is Docker Volume | How to create Volumes | What is Bind Mount | Docker Storage
1. What is Docker ?
Docker is the world’s leading software container platform
Docker makes the process of application deployment very easy and efficient and resolves a lot of issues related to deploying applications
Docker is a tool designed to make it easier to deploy and run applications by using containers
Docker gives you a standard way of packaging your application with all its dependencies in a container
Containers allow a developer to package up an application with all of the parts it needs, such as libraries and other dependencies, and ship it all out as one package.
Understand Docker with analogy of the Shipping industry
How a real world problem was resolved using containers
2. How DOCKER works | Docker Architecture
How Docker works ?
Understand a general workflow of docker
Difference between virtualization and containerization
Understand docker client server architecture
Understand:
Docker file
Docker images
Docker Containers
Docker Hub / Registry
Docker client
Docker server / daemon
Docker engine
3. Benefits of DOCKER | Why to use DOCKER | Advantages of DOCKER
Benefits of using Docker
Build app only once
No worries that the application will not perform the same way it did on testing env
Portability
Version Control
Isolation
Productivity
Docker simplifies
DevOps
4. How to install DOCKER on LINUX ? Step by Step
5. How to install DOCKER on WINDOWS ? Step by Step
6. How to install DOCKER on MAC ? Step by Step | How to Install Docker
8. What are Docker Images | How to run Docker Images | Docker Images Beginner Tutorial
What are images
How to pull image
How to run a container using an image
Basic Commands
9. What are Docker Containers | How to create Docker Containers | Basic Commands
What are Containers
How to create Containers
How to start / stop Containers
Basic Commands
10. How to run Jenkins on Docker container | How to create Jenkins Volumes on Docker | Beginners
How to start Jenkins on Docker Container
Start and Stop Jenkins Container
How to set Jenkins home on Docker Volume and Host Machine
: docker pull jenkins
: docker run -p 8080:8080 -p 50000:50000 jenkins
: docker run --name MyJenkins -p 8080:8080 -p 50000:50000 -v /Users/raghav/Desktop/Jenkins_Home:/var/jenkins_home jenkins
: docker run --name MyJenkins2 -p 9090:8080 -p 50000:50000 -v /Users/raghav/Desktop/Jenkins_Home:/var/jenkins_home jenkins
: docker volume create myjenkins
: docker volume ls
: docker volume inspect myjenkins
: docker run --name MyJenkins3 -p 9090:8080 -p 50000:50000 -v myjenkins:/var/jenkins_home jenkins
: docker inspect MyJenkins3
In case you face issues like installing plugins on this Jenkins, can setup jenkins with this command:
$ docker run -u root --rm -p 8080:8080 -v /srv/jenkins-data:/var/jenkins_home -v /var/run/docker.sock:/var/run/docker.sock --name jenkins jenkinsci/blueocean
11. What is Dockerfile | How to create and build Dockerfile | Dockerfile Basic Commands
What is Dockerfile
How to create Dockerfile
How to build image from Dockerfile
Basic Commands
12. What is Docker Compose | How to create docker compose file | How to use Compose
What | Why - Docker Compose
How to install
How to create docker compose file
How to use docker compose file to create services
Basic Commands
13. What is Docker Volume | How to create Volumes | What is Bind Mount | Docker Storage
What are Volumes
How to create / list / delete volumes
How to attach volume to a container
How to share volume among containers
What are bind mounts
Volumes are the preferred mechanism for persisting data generated by and used by Docker containers
: docker volume //get information
: docker volume create
: docker volume ls
: docker volume inspect
: docker volume rm
: docker volume prune