Docker Intro
Slavita Baciuna. 3 Apr 2015
Haufe-Lexware @Tech Lunch
Docker Components
● Docker client and server (64 bit architecture)
● Docker images
● Docker containers
● Docker registry
Creating and storing images
● Pull from the docker registry (https://registry.
hub.docker.com/)
● Create your own image (not a golden image)
○ base image and docker commit
○ base image and Dockerfile with docker build
(template)
● Create your own registry (https://github.
com/docker/docker-registry)
Creating and using containers
● libcontainer vs lxc-container
● Linux kernel namespaces
● Filesystem isolation
● Process isolation
● Network isolation
● Resource isolation and grouping - cgroups
● Copy-on-write
● Logging and interactive shell
Creating and using containers
● docker ps
● docker run (docs)
● Docker user interfaces
○ Shipyard
○ Docker UI
○ maDocker
Continuous Integration with Docker
● Docker in Docker
● Jenkins - setup example
● Strider
● Drone.io
Building services with Docker
● Docker Book code examples
○ Tomcat and Java app example -use volumes to
connect docker containers
○ Node.js and Redis example - multi container
application stack
Orchestration and Service Discovery
● Libswarm
● Consul
● Docker compose - e.g.flask app with redis
● Panamax
● Fleet and etcd (by CoreOS)
● Kubernetes
● Apache Mesos
● Centurion
Docker API
● The Registry API
○ integration with the Docker registry which stores the
images
● The Docker Hub API
○ integration with the Docker Hub
● The Docker Remote API
○ integration with the Docker daemon
Documentation
● Docker @Aurora - by Gottfried Ganssauge
● Try it
● The Docker Book
● Links

Docker @haufe lexware tech lunch

  • 1.
    Docker Intro Slavita Baciuna.3 Apr 2015 Haufe-Lexware @Tech Lunch
  • 3.
    Docker Components ● Dockerclient and server (64 bit architecture) ● Docker images ● Docker containers ● Docker registry
  • 4.
    Creating and storingimages ● Pull from the docker registry (https://registry. hub.docker.com/) ● Create your own image (not a golden image) ○ base image and docker commit ○ base image and Dockerfile with docker build (template) ● Create your own registry (https://github. com/docker/docker-registry)
  • 5.
    Creating and usingcontainers ● libcontainer vs lxc-container ● Linux kernel namespaces ● Filesystem isolation ● Process isolation ● Network isolation ● Resource isolation and grouping - cgroups ● Copy-on-write ● Logging and interactive shell
  • 6.
    Creating and usingcontainers ● docker ps ● docker run (docs) ● Docker user interfaces ○ Shipyard ○ Docker UI ○ maDocker
  • 7.
    Continuous Integration withDocker ● Docker in Docker ● Jenkins - setup example ● Strider ● Drone.io
  • 8.
    Building services withDocker ● Docker Book code examples ○ Tomcat and Java app example -use volumes to connect docker containers ○ Node.js and Redis example - multi container application stack
  • 9.
    Orchestration and ServiceDiscovery ● Libswarm ● Consul ● Docker compose - e.g.flask app with redis ● Panamax ● Fleet and etcd (by CoreOS) ● Kubernetes ● Apache Mesos ● Centurion
  • 10.
    Docker API ● TheRegistry API ○ integration with the Docker registry which stores the images ● The Docker Hub API ○ integration with the Docker Hub ● The Docker Remote API ○ integration with the Docker daemon
  • 11.
    Documentation ● Docker @Aurora- by Gottfried Ganssauge ● Try it ● The Docker Book ● Links