Let's ship your running code with Docker - Vincent Batts (Room 224) What is docker and how can it help me? Linux containers are self-sufficient ways to deploy applications. From testing, developing or running applications at scale. Come for a hands on workshop of learning how to leverage this technology for enabling a more robust continuous integration, developing across a diverse landscape of distributions. We'll go over the fundamentals: * building an image for your application (if you're not a developer, that is ok :-) * wiring up that image for your use case * shipping that image (or even publishing it for others) Feel free to bring your questions on docker based solutions! ------------------------ Ideas: * demo basics * demo dev environment * demo a running product Tooling around automating incremental builds * https://github.com/pmorie/go-sti provided two hook/commands are supplied: * prepare * run Demo! ===== # window 1 mkdir -p ~/db docker run -i -t --name mongod -v $HOME/db:/data/db -p 127.0.0.1:27017:27017 vbatts/mongod # window 2 cd ~/images/m cat Dockerfile docker run -it --link mongod:db m # window 3 mongo > db.folks.find().count() # window 2 cd ~/images/m ./m # window 1 ^c docker rm $(docker ps -a -q) docker run -i -t --name mongod -v $HOME/db:/data/db -p 127.0.0.1:27017:27017 vbatts/mongod # window 3 mongo > db.folks.find().count() # window 4 cd ~/images/mongo cat Dockerfile docker run -it --link mongod:db vbatts/mongo TODO ==== * get the mongo image running * make a simple app using mongo / mongo shell to show the data persist, despite the container