Differences between revisions 1 and 2
Revision 1 as of 2014-03-05 17:05:17
Size: 552
Comment:
Revision 2 as of 2014-03-05 17:39:15
Size: 746
Comment:
Deletions are marked like this. Additions are marked like this.
Line 18: Line 18:

See also See http://www.debian-administration.org/article/696/A_brief_introduction_to_using_docker#a2


A dockerfile may also directly the following directive :
{{{
FROM debian:sid
}}}

Hints on how to create a Debian image for Docker.

See http://sfxpt.wordpress.com/2013/11/17/debianubuntu-package-developing-with-docker-continued/ for original reference.

The following is work in progress WITHOUT ANY WARANTY

Note that due to bug #740855 /usr/share/docker.io/contrib/mkimage-debootstrap.sh needs to be patched at the moment.

You may create an image with :

.../mkimage-debootstrap.sh $USER/debian sid

The image may then be used with :

sudo docker.io run -i $USER/debian:sid echo "hello world"

See also See http://www.debian-administration.org/article/696/A_brief_introduction_to_using_docker#a2

A dockerfile may also directly the following directive :

FROM debian:sid