2. Nightmares working on local dev
env
Too many manual tasks required in setup
Performance issue/machine is too slow
Inconsistency with production environment
My code works fine only on my machine but
not in production.
3. How to solve
Environment on Demand
Automated Configuration Management
Faster Deployment cycle
Better performance
4. Introduction to Docker
An open source software used to perform
various operations with linux containers.
Helps in creating environment on demand.
Containers are light weight(Typical laptops can
run around 10-100 containers)
Simple and easy CLI , makes it easy to script
Using Docker registry makes it easier to share
linux containers across the teams.
6. • Run docker images
• Docker File usage
• Docker registry
Short Demo
7. Key Notes
100 Docker instances does not mean 100 VMs.
Each docker run command is run as a process on
the host machine.
Docker is still under development, so it is not yet
recommended for production
Distros : Ubuntu, Centos, Redhat .In order to
make it work on mac you need a VM with the
above distros.
By default it works on bridge network - docker0 ,
each containers gets a virtual interface and a
specific ip from same range as docker0 .We can
also configure specific ip ranges.
8. Chef for Configuration
Management
Automated configuration for app deployment
Consistency of configuration across
environments
Freedom from repetitive manual software
installations.
Easy to integrate with various cloud platforms
(ec2,openstack etc).