docker first steps
TRANSCRIPT
First Steps
What’s Docker?
• API to provide lightweight containers• Opensource platform• Run process isolated in the same host• It helps to deploy, ship, test, etc. in a fast way
How it works
How it works
How it works
• Dockerfile: set of instructions to build a docker image. Every instructions creates a new layer and it is assigned to a hash, like a git commit
• Docker Hub: Central repository where docker images are stored
Docker is NOT a Virtual Machine
Docker vs. Virtual Machines
Virtual Machine
Docker vs. Virtual Machines
Docker containers
Advantages
• High level abstraction for containers• Fast to create images• Fast to deploy• Reduce time between development and
deployment• Possible to have several environments isolated
in the same host
Example
So… Docker is AWESOME!!!!111
Well… Not that awesome…
Disadvantages
• Networking limitations• No support for IPv6• Uses NAT• Insecure (Trust Docker Hub)• No support for old kernels• Not easy to debug
And more… http://www.boycottdocker.org
Docker in Production
Tools
• CoreOS, RancherOS, boot2docker• Kubernetes• Docker Machine• Docker Compose• Kitematic
Questions?