Jump to: navigation, search

Docker

Revision as of 19:38, 29 April 2016 by Gkiagia (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Docker

Docker is the next generation in our services setup. Because we like to learn a few things about it first, we experiment in the "testbed" VM and this wiki page lists some information about how we do things, useful hints, cheat sheets and other stuff...

Creating a base image

Creating a base debian image is done with docker's mkimage.sh script, which internally invokes debootstrap and sets up a few things that improve debian for use in a container.

/usr/share/docker.io/contrib/mkimage.sh -t tolabaki/debian:stable debootstrap stable http://mirror.nl.leaseweb.net/debian/