Package: docker.io
Version: 0.9.1~dfsg1-1
Severity: normal
Tags: patch

Dear Maintainer,

As, due to the name collision with the longer-integrated "docker" package, 
docker.io uses a 
binary/command then the upstream release. This is not reflected in the image 
building helper 
scripts as provided in /usr/share/docker.io/contrib/mkimage-*.sh and shuld be 
fixed.

I include an examplary patch to address the issue in mkimage-debootsrep.sh.

Note that I had a somewhat unpleaseant discussion on this upstream ... 
https://github.com/dotcloud/docker/pull/4957

Sincerely, Joh

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (900, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.13-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages docker.io depends on:
ii  adduser              3.113+nmu3
ii  init-system-helpers  1.18
ii  iptables             1.4.21-1
ii  libapparmor1         2.8.0-5+b1
ii  libc6                2.18-4
ii  libdevmapper1.02.1   2:1.02.83-2
ii  libsqlite3-0         3.8.4.1-1
ii  perl                 5.18.2-2+b1

Versions of packages docker.io recommends:
ii  aufs-tools       1:3.2+20130722-1.1
ii  ca-certificates  20140325
ii  cgroupfs-mount   1.0
ii  git              1:1.9.1-1
ii  xz-utils         5.1.1alpha+20120614-2

Versions of packages docker.io suggests:
pn  btrfs-tools  <none>
ii  debootstrap  1.0.59
pn  lxc          <none>
ii  rinse        2.0.1-1

-- no debconf information
--- /usr/share/docker.io/contrib/mkimage-debootstrap.sh	2014-03-26 01:00:37.000000000 +0300
+++ /tmp/mkimage-debootstrap.sh	2014-04-08 12:19:39.408053169 +0300
@@ -95,6 +95,12 @@
 	docker='sudo docker'
 elif command -v docker > /dev/null 2>&1; then
 	docker='docker'
+elif docker.io version > /dev/null 2>&1; then
+	docker='docker.io'
+elif sudo docker.io version > /dev/null 2>&1; then
+	docker='sudo docker.io'
+elif command -v docker.io > /dev/null 2>&1; then
+	docker='docker.io'
 else
 	echo >&2 "warning: either docker isn't installed, or your current user cannot run it;"
 	echo >&2 "         this script is not likely to work as expected"

Reply via email to