2. What is Docker? Why Dockerize?
How do I Dockerize Meteor?
Golden tips to save me time?
2
!
"
#
3. What is Docker?
http://docker.com
Build machine images of your services
(meteor, mongo, nginx, etc).
Each image captures full server
environment.
Safely run images in containers.
3
Server
Host OS
Docker
Meteor Mongo
5. Why Dockerize?
5
%
DEVELOP
Lots of Dockerfiles available.
Run same image on laptop or server.
&
DEPLOY
Simplify deployment.
Full history of your images.
!
SCALE
Flexibly change your service topology.
Deploy multiple images quickly.
6. What is Docker? Why Dockerize?
How do I Dockerize Meteor?
Golden tips to save me time?
6
!
"
#
12. What is Docker? Why Dockerize?
How do I Dockerize Meteor?
Golden tips to save me time?
12
!
"
#
12
13. 13
Tips for development
- use docker-enter to ssh into a container
github.com/jpetazzo/nsenter
- coreos-gui-osx for playing with coreos
github.com/rimusz/coreos-osx-gui
- use pre-dockerized mongodb replica set
github.com/inlight-media/docker-mongodb-replica-set
- search dockerhub for Dockerfiles
hub.docker.com
14. 14
Data solution 1
%
DATA
Jaigouk fixed bugs in auth0/coreos-mongodb
the most popular MongoDB Fleet Unit file
mounting directory
github.com/jaigouk/coreos-mongodb
15. 15
%
DATA
create a dockerized data container
github.com/19hz/coreos-mongodb-cluster
Data solution 2
An improved, more portable way to store
than the previous solution!
16. What is Docker? Why Dockerize?
How do I Dockerize Meteor?
Golden tips to save me time?
16
!
"
#
17. 17
!
"
# Docker is a tool to simplify deployment.
Dockerizing Meteor is easy to get started.
Use Jaigouk’s sweet Dockerfiles!
18. 18
Jaigouk Kim Michael Shilman
19hz.co lab80.co
http://github.com/lab80/dockerizing-meteor
https://github.com/jaigouk/zero-to-dockerized-meteor-cluster
QUESTIONS?THANKS!