Package: docker.io
Version: 18.06.1+dfsg1-2
Severity: important

Dear Maintainer,

When I run docker with -p it fails with:

docker: Error response from daemon: driver failed programming external 
connectivity on endpoint ....:  (iptables failed: iptables --wait -t nat -A 
DOCKER -p tcp -d 0/0 --dport *** -j DNAT --to-destination ***:*** ! -i docker0: 
 (fork/exec /sbin/iptables: no such file or directory)).

There's currently no debian package shipping /sbin/iptables:

https://packages.debian.org/search?suite=sid&arch=amd64&mode=exactfilename&searchon=contents&keywords=%2Fsbin%2Fiptables

The iptables package has recent changes to its alternatives. Maybe
it removed /sbin/iptables accidentally, but even if that is the
case, docker.io should probably search PATH or use
/usr/sbin/iptables

There's a recent bug against iptables about ferm breaking with a
similar error message:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=911777


Please let me know if this is not as easy to reproduce as I think.

-- 
Jason


-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.18.0-2-amd64 (SMP w/6 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages docker.io depends on:
ii  adduser             3.118
ii  iptables            1.8.1-1
ii  libc6               2.27-6
ii  libdevmapper1.02.1  2:1.02.145-4.1
ii  libltdl7            2.4.6-6
ii  libnspr4            2:4.20-1
ii  libnss3             2:3.39-1
ii  libseccomp2         2.3.3-3
ii  libsystemd0         239-10
ii  lsb-base            9.20170808
ii  runc                1.0.0~rc5+dfsg1-4
ii  tini                0.18.0-1

Versions of packages docker.io recommends:
ii  ca-certificates  20180409
ii  cgroupfs-mount   1.4
ii  git              1:2.19.1-1
pn  needrestart      <none>
ii  xz-utils         5.2.2-1.3

Versions of packages docker.io suggests:
ii  aufs-tools           1:4.9+20170918-2
pn  btrfs-progs          <none>
pn  debootstrap          <none>
pn  docker-doc           <none>
ii  e2fsprogs            1.44.4-2
pn  rinse                <none>
pn  xfsprogs             <none>
pn  zfs-fuse | zfsutils  <none>

-- no debconf information

Reply via email to