Docker by Demo
Docker by Demo
Demo
by Srikanth Seshachary
What is Docker?
cgroups
namespaces
dependencies as
versioned code
isolation of processes
speed
debugging
pluggability
devops a process
enforcer
devops a process
enforcer
speed
new vm = minutes,
new container = seconds
Installing Docker
kernel 3.8
Launching Containers
$
$
$
$
sudo
sudo
sudo
sudo
Docker Repositories
# Dockerfile
FROM ubuntu
MAINTAINER James Turnbull "[email protected]"
RUN apt-get update
RUN apt-get install -y nginx
RUN echo 'Hi, I am in your container' \
>/usr/share/nginx/html/index.html
EXPOSE 80
ENTRYPOINT ["/usr/sbin/nginx"]
CMD ["-h"]
Issues/Limitations/Misconc
eptions
References
http://knitatoms.net/2013/12/benefits-of-d
ocker-for-application-deployment/
https://devopsu.com/blog/docker-misconce
ptions/
https://stackoverflow.com/questions/16047
306/how-is-docker-io-different-from-a-nor
mal-virtual-machine