Learn all there is to know about Docker and containers from the bottom up. In this course, you'll learn what containers are and why they're great, as well as how to utilize Docker to create custom containers and images.
7. Softwares has different rule on different system
● Different Packages
● Version control
● Running the container for the ease of using them
● Running the container for the nature of it being more flexible for the
development.
8.
9.
10. So now lets jump on to the questions
What is dockerfile?
What is a container?
What is a docker image?
15. So it just built to be
Independent of Dependencies and also Host OS
16.
17. From Dev To Ops
PHYSICAL VIRTUAL CLOUD
Any Application
18. Docker Platform
Docker Image
Docker Engine
Registry Service (Docker Hub or Docker Trusted Registry)
Cloud or server based storage and distribution service for images
Docker Container
19. Docker Hub: Build, Ship, Run Applications
Build Ship
Run
Dev
QA
Source
Staging
Physical
Virtual
Cloud
InfrastructureManagement
InfrastructureManagement
DockerFile
Source Code
Repository
TEST
TEST
TEST
TEST
TEST
GCE RAX Azure
Mac/Win Dev
Machine
Boot2Docker
Docker
Analytics
DB
Prod
Machine
Linux OS
Docker
Docker
++
Users Collab
Provenance Policy
Docker Hub
Registries
Public Curated Private
Docker Hub API
Third Party Tools
Prod
Machine
Linux OS
Docker
Docker
Prod
Machine
Linux OS
Docker
Docker
VM
Docker
Docker
VM
Docker
Docker
VM
Docker
Docker
QA Machine
Linux OS
Docker
Docker
Docker Hub provides a centralized resource for container image discovery,
distribution and change management, user and team collaboration, and workflow
automation
20.
21.
22.
23. Application 1 Application 2 Application 3
Docker file
Which has list
of all the
dependencies
or libraries
Docker file
Which has list
of all the
dependencies
or libraries
Docker file
Which has list
of all the
dependencies
or libraries
24. Application 1 Application 2 Application 3
Docker file
Which has
list of all the
dependenci
es or
libraries
Docker file
Which has list
of all the
dependencies
or libraries
Docker file
Which has list
of all the
dependencies
or libraries
25. Application 1 Application 2 Application 3
Docker file
Which has
list of all the
dependencie
s or libraries
Docker file
Which has list
of all the
dependencies
or libraries
Docker file
Which has list
of all the
dependencies
or libraries
37. COPY .. Command is the magic
Just makes a file system in the Dockerfile by copying the content in the root
directory.
38. WORKDIR is the new way to create a new file system
Node
NPM
LIB
WORKDIR
SPECIFIED FOR THE
DOCKER
CONTAINER
ALL the file that was
copied from the
home directory
39. WORKDIR is the new way to create a new file system
Node
NPM
LIB
WORKDIR
SPECIFIED FOR THE
DOCKER
CONTAINER
ALL the file that was
copied from the
home directory
CMD
40. If we want to containerize an application
Application Package Write a Dockerfile Build a image Cloud