Upgrade to Pro — share decks privately, control downloads, hide ads and more …

DockerGrunn - Spring edition

Sponsored · Ship Features Fearlessly Turn features on and off without deploys. Used by thousands of Ruby developers. →

DockerGrunn - Spring edition

M'n slides van de 3e editie van DockerGrunn

Joshua Peper

May 27, 2015

Transcript

27 slides
  1. 19:30 - Introductie / Welkom bij the Factor.e 19:40 -

    Get your Dock on
 Hands on sessie Wordpress + MySQL local setup 20:20 - New Wehkamp platform & Docker with AplineLinux
 Buzzwords: Mesos, Marathon, Consul, AWS 21:15 - Drinks / Q&A with speakers
 Drink all the drinks / Ask all the questions DockerGrunn Spring edition
  2. • Ingredienten: • Boot2Docker: boot2docker.io • Terminal • Bij voorkeur

    henk z’n mysql en wordpress images pulled Get your Dock on
  3. Image
 Zeg maar je CD-ROM Container
 Zeg maar je in

    memory boot volume, 
 changes weg na reboot
  4. # Check if Docker works $ docker ps CONTAINER ID

    IMAGE COMMAND CREATED STATUS PORTS NAMES
  5. # Check your images $ docker images REPOSITORY TAG IMAGE

    ID CREATED VIRTUAL SIZE apollotokenbucket_worker latest 6caeedaa33a8 21 hours ago 822.1 MB apollotokenbucket_app latest 6caeedaa33a8 21 hours ago 822.1 MB
  6. # Run your MySQL servert $ docker run --name dock-mysql

    -d -e MYSQL_ROOT_PASSWORD=Kai5mah0 mysql
  7. # Run your Wordpress $ docker run --name dock-wordpress --link

    dock-mysql:mysql -p 8080:80 -d wordpress
  8. # See them running $ docker ps CONTAINER ID IMAGE

    COMMAND CREATED STATUS PORTS NAMES 72dbb85f70a1 wordpress:4 "/ entrypoint.sh apac 3 seconds ago Up 2 seconds 0.0.0.0:8080->80/tcp dock-wordpress adea7a1ec821 mysql:5 "/entrypoint.sh mysq 6 minutes ago Up 6 minutes 3306/tcp dock-mysql
  9. AND

More Decks by Joshua Peper

Other Decks in Technology