Heard about Docker and are wondering how to make it part of your stack? Excited by the potential of developing faster and smarter? We’re going to show you how to build development environments with Docker. Then teach you how to integrate that environment into your development and testing workflow.
We’ll show you how to easily install Docker on Linux, OS X and Windows and how to manage it.
You’ll learn how to build replicas of your production stack to develop in.
We’ll demonstrate some simple Docker-enabled workflows that include local development, Git Hub integration, and container-based testing.
You’ll get an introduction to taking the next step and leveling up your local workflow to a group or team-centric continuous integration environment with Jenkins.
You’ll leave the session with the basic tools to add Docker to your development lifecycle and information about how to learn more to build on your knowledge.
12. So why should I care?
Software delivery mechanism
Portability
A bit like a VM but ...
12
13. ... not like a VM
1. Containers boot faster
2. Containers have less overhead
3. Containers bring native performance
4. Containers are Cloud & VM-compatible
13
29. Compose basics
• Build your apps with Dockerfile's.
• Combine applications and images with a docker-
compose.yml file.
29
30. The Dockerfile
FROM ubuntu:14.04
RUN apt-get -yqq update
RUN apt-get -yqq install nodejs npm
RUN ln -s /usr/bin/nodejs /usr/bin/node
RUN mkdir -p /var/log/nodeapp
ADD nodeapp /opt/nodeapp/
WORKDIR /opt/nodeapp
RUN npm install
30