Jamie McClelland: Docker in Debian
It's not easy getting Docker to work in Debian.
It's not in stable at all:
0 jamie@turkey:~$ rmadison docker.io
docker.io 1.6.2~dfsg1-1~bpo8+1 jessie-backports source, amd64, armel, armhf, i386
docker.io 1.11.2~ds1-5 unstable source, arm64
docker.io 1.11.2~ds1-5 unstable-debug source
docker.io 1.11.2~ds1-6 unstable source, armel, armhf, i386, ppc64el
docker.io 1.11.2~ds1-6 unstable-debug source
docker.io 1.13.1~ds1-2 unstable source, amd64
docker.io 1.13.1~ds1-2 unstable-debug source
0 jamie@turkey:~$
And a problem with runc makes it really hard to get it working on Debian unstable.
These are the steps I took to get it running today (2017-10-10).
Remove runc (allow it to remove containerd and docker.io):
sudo apt-get remove runc
Install docker-runc (now in testing)
sudo apt-get install docker-runc
Fix containerd package to depend on docker-runc instead of runc:
mkdir containerd
cd containerd
apt-get download containerd
ar x containerd_0.2.3+git20170126.85.aa8187d~ds1-2_amd64.deb
tar -xzf control.tar.gz
sed -i s/runc/docker-runc/g control
tar -c md5sums control gzip -c > control.tar.gz
ar rcs new-containerd.deb debian-binary control.tar.gz data.tar.xz
sudo dpkg -i new-containerd.deb
Fix docker.io package to depend on docker-runc instead of runc.
mkdir docker
cd docker
apt-get download docker.io
ar x docker.io_1.13.1~ds1-2_amd64.deb
tar -xzf control.tar.gz
sed -i s/runc/docker-runc/g control
tar -c post,pre inst,rm md5sums control gzip -c > control.tar.gz
ar rcs new-docker.io.deb debian-binary control.tar.gz data.tar.xz
sudo dpkg -i new-docker.io.deb
Symlink docker-runc => runc
sudo ln -s /usr/sbin/docker-runc /usr/sbin/runc
Keep apt-get from upgrading until this bug is fixed:
printf "# Remove when docker.io and containerd depend on docker-runc
# instead of normal runc
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=877329
Package: runc
Pin: release *
Pin-Priority: -1
Package: containderd
Pin: release *
Pin-Priority: -1
Package: docker.io
Pin: release *
Pin-Priority: -1" sudo tee /etc/apt/preferences.d/docker.pref
Thanks to coderwall for tips on manipulating deb files.
Welcome to gambaru.de. Here is my monthly report that covers what I have been doing for Debian. If you re interested in Java, Games and LTS topics, this might be interesting for you.
Debian Games
I was assigned 15 hours of work by Freexian's Debian LTS initiative
and carried over 6 hours from August. I only worked 12 hours, so I
will carry over 9 hours to the next month.
I prepared and released another update on the Linux 3.2 longterm
stable branch (3.2.93). I then rebased the Debian linux package
onto this version, added further security fixes, and uploaded
it (
Upcoming
On
pristine-tar 1.41: support for signatures
This release saw the addition of support for storage and retrieval of upstream signatures, contributed by Chris Lamb.
pristine-tar 1.42: optionally recompressing tarballs
I had this idea and wanted to try it out: most of our problems reproducing tarballs come from tarballs produced with old compressors, or from changes in compressor behavior, or from uncommon compression options being used. What if we could just recompress the tarballs before importing then? Yes, this kind of breaks the pristine bit of the whole business, but on the other hand, 1) the contents of the tarball are not affected, and 2) even if the initial tarball is not bit by bit the same that upstream release, at least future uploads of that same upstream version with Debian revisions can be regenerated just fine.
In some cases, as the case for the test tarball
In other cases, if the current heuristics can t produce a reasonably small delta, recompressing makes a huge difference. It s the case for
Recompressing is not enabled by default, and can be enabled by passing the
I am very, very, very happy to report this And I cannot believe we have achieved this so fast:
Back in June, I 
Here s my weekly report for week 40 of 2017. In this week I have
When I learned TeX, I was told to not write 




Watch out for future events in Prishtina, the pizzas are huge, but that didn't stop them disappearing before we finished the photos:
One of the reasons which made me switch my old 17" BenQ monitor for a Dell U2413 three years ago was it had an integrated SD card reader. I find very convenient to take camera's card out, plug the card into the monitor and click on KDE device monitor's option Open with
Since DebConf 17 I was working on cross-architecture support for
FAI. The new FAI release supports creating cross-architecture disk images, for
e.g. you can build an image for Arm64 (aarch64) on a host running 64-bit
x86 Linux (amd64) in about 6 minutes.
The
I've just released 