Software developer
What is Docker?
Docker in practice
Docker's past, present, and future
Tutorial
Wrap up
Build once, run anywhere
Virtualization tool?
Configuration manager?
VM manager?
cgroups?
LXC?
libvirt?
go?
Docker is an open platform for developers and sysadmins to build, ship, and run distributed applications.
Manual
configuration
Traditional VMs
CM tools
Docker
How you run
your application
How you store
your application
# Set the base image to Ubuntu
FROM ubuntu
# Update the repository sources list
RUN apt-get update
# Install MongoDB package (.deb)
RUN apt-get install -y mongodb-10gen
# Create the default data directory
RUN mkdir -p /data/db
# Expose the default port
EXPOSE 27017
# Default command to start the database
CMD ["usr/bin/mongod", "--port 27017"]