docker infomeet

docker is like git

Git for beginners++

15:00 - Sala B

Docker vs. Vagrant

vagrant provision vs. docker build

Testing in sandbox

single command & go!

docker run -d -p 80:80 -v /home/user/www/:/usr/local/apache2/htdocs/ httpd

Reverse Proxy

with jwilder/nginx-proxy

httpd:
  image: httpd:2.4
  ports:
   - "80"
  volumes:
    - "/home/blog/www/:/usr/local/apache2/htdocs/"
  environment:
    - VIRTUAL_HOST=blog.domena.pl,www.blog.domena.pl
    - VIRTUAL_PORT=80
docker run -d -p 80:80 -v /var/run/docker.sock:/tmp/docker.sock jwilder/nginx-proxy
docker compose up
docker run -p 80 -e VIRTUAL_HOST=jenkins.dhod.pl jenkins
docker run -p 9000 -e VIRTUAL_HOST=sonar.domena.pl -e VIRTUAL_PORT=9000 sonarqube

Jenkins

Sonar Cube

Simple http server

Nginx Reverse Proxy

docker run -it --privileged --name some-docker -d docker:dind
docker run -it --rm --link some-docker:docker docker sh

Dockerhost on demand

Pull Request Builder

Q&A

Title Text

  • docker vs. vagrant
    • vagrant provision vs. docker build
  • docker hub, easy setup of private registry
  • tutum
  • docker run
    • for tests
    • quick sandbox
  • dhod
  • dind
  • cookiecutter-django & pycharm
  • nginx-reverse proxy
  • docker-backup
  • pull request builder
  • docker swarm
  • docker machine

docker-infomeet-2015dec

By noisy

docker-infomeet-2015dec

  • 1,625