The document discusses using Docker and Jenkins for continuous delivery. It describes how Docker can be used to automate environment provisioning and application deployment. It provides details on building Docker images for things like Sonar and Jenkins, and shows how to run, manage, and connect containers. The document emphasizes that Docker allows easily moving and running software anywhere, and promotes using it along with Jenkins to manage a continuous delivery pipeline.
15. To enable continuous delivery
Quickly provision environments
Run the same software local and in the
cloud
Easy to move software
Better performance
Higher availability
Cheaper
16. Disk space efficiency
Memory efficiency
Speed
Compatibility (run anywhere)
Isolation
Versioning
Internet of Things (Raspberry Pi etc.)
17. Simple general commands
No Domain Specific Language (DSL)
Configuration with operating system
commands
18. Since March 2013
8741 commits in 15 months
More than 460 570 contributors
Downloaded 2.75 13 million times
More than 14000 30000 Dockerized apps
>6500 Docker related projects on GitHub
More than 90 user groups
DockerCon (Europe)
Support from Google, VMWare, RackSpace,
Red Hat, IBM, Microsoft etcetera
19.
20.
21. Docker on Ubuntu 14.04
apt-get install docker.io
docker.io run -i -t ubuntu:saucy
/bin/bash
30. Show (running) containers
docker ps –a
Show processes running in container
docker top containerid
Show changes in the container
docker diff containerid
31. Stop all containers
docker.io stop $(docker.io ps -a -q)
Remove all containers
docker.io rm $(docker.io ps -a -q)
Remove all images
docker.io rmi $(docker.io images -q)
57. “Life is really simple, but we insist on
making it complicated.”
- Confucius
58.
59. Use a (private) Docker registry
Use images from the registry instead of
export
Keep environmental settings separate
Use Jenkins to manage everything
Do not add extra functionality like
OpenSSH
Think about topics such as security,
monitoring and logging
Separate concerns in separate containers
Inherit containers