6. So why should I care…
• Portability
• Deployment ease
• Gives control to the developers
• IT ops manage the same environment
• Security
• Lower cost
7. What is Docker?
It is the technology that manages containers
It is distributed via images hosted commonly on the
docker cloud
* images are small version of linux containing just one thing in particular
(rails application, ruby, postgres)
8. Welcome to the Matrix
Ruby on Rails ? ? ? ?
.NET ? ? ? ?
Java ? ? ? ?
Django ? ? ? ?
Developer
laptop
Another laptop QA Production
9.
10. Welcome to the Matrix
Ruby on Rails Container Container Container Container
.NET Container Container Container Container
Java Container Container Container Container
Django Container Container Container Container
Developer
laptop
Another laptop QA Production
16. Docker compose
Helps you orchestrate multiple containers with ease:
• Create containers
• Run multiple containers
• Remove containers
It uses YAML to describe all our needs
* http://bit.ly/2b8wmaH
17. Deployment with Docker
As long as you have Docker running on the remote
server you will be able to run any image.
You can orchestrate containers with docker-compose
for production.
There are two big tools to manage not just containers
but hosts as well:
• Rancher OS (free, open source)
• Docker registry (paid, docker license)
* https://github.com/kurenn/docker-rails