intro to docker (hands-on session)
TRANSCRIPT
@beacloudgenius
Intro to Docker
Happy to see you all online2
Your questions help us drive better.
Questions in chat... any time.3
https://LinkedIn.com/in/LONDHE
4
IAS Topper
Founder
Who am I
Nilesh Londhe
CloudGenius5
The fastest way for you to be productive on your job
CloudGenius6
Rated as top 10 cloud programby CIO Magazine
Our graduates work at7
8
Train for mastery9
¨ Real work doesn’t have silly tests
¨ Business situations have nuances
¨ We deal with professionals like you¤ not kindergarteners
10
Why Docker?
11
Simplifies container
management
12
Common standard among leaders
Google, Microsoft, Amazon, Cisco, HP, IBM, RedHat, VMWare, and others
13
Resource Efficiency
14
Integration with Linux Kernel
15
Fast
16
Agile
17
Flexible
18
Lightweight
19
Inexpensive
20
Open source
21
Ecosystem
22
Cloudy
23
Enables Consistent
Environments
24
What’s Docker?
25
DotCloudrenamed
Docker Inc.
26
Go Lang
v1.0 in mid 2014
27
Docker automates application deployment in lightweight, portable, self sufficient containers
that run anywhere*.
28
What?Unix chroot
BSD jailsSolaris Zones
29
What?linux containers
layered file systemgit like versioning
REST API
31
DockerIsolated
lightfaster than VMs
32
SetupUse Cloud Genius Workstation
or curl -sSL https://get.docker.com/ | sh
33
TerminologyDocker Daemon = Server
Docker Client = Client
34
TerminologyImage is a snapshotContainer is instantiation of an image
35
TerminologyDocker Registry is warehouse of imagesDocker Repository is a project in registry
36
Basic usagedocker pull <image>docker imagesdocker run <image> <command>docker psdocker logs <container>
37
Hands-on
38
AutomationDockerfile – series of commands
DockerfileFROM ubuntuENV THIS_IS_AWESOME trueRUN apt-get updateRUN apt-get -y install fortunes cowsayCMD /usr/games/fortune -a | /usr/games/cowsay
40
builddocker build -t cloudgenius/holycow .
41
pushdocker push cloudgenius/holycow
42
rundocker run cloudgenius/holycow
43
you pulldocker pull cloudgenius/holycow
44
you rundocker run cloudgenius/holycow
45
Communityhttps://chat.cloudgeni.us
46
Instructor Led Online Courses
47
Self-paced On-demand
Courses
48
Interactive Videoconference
Bootcamps
49
Thank you.
be.a.cloudgeni.us