Bug#929315: docker.io: Please configure docker0 ip address and netmask at install time

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Bug#929315: docker.io: Please configure docker0 ip address and netmask at install time

Salvo Tomaselli-3
Package: docker.io
Version: 18.09.1+dfsg1-7~deb10u1
Severity: important

Dear Maintainer,

as it is, docker.io will automatically start and create a docker0 network
interface with some hard-coded IP address, and there is no file in /etc that
can be edited to change said IP address.

One must look into the documentation, find out that a file called
 /etc/docker.daemon.json
needs to be created, with a field called "bip", and have as value an
ip/netmask.

It is important because for some people (for example me) having an interface
pop up with an hard coded address can cause collisions with existing routes and
local network configuration.

So ideally, this shouldbe configured at install time, like postfix-style, but
at the very least, a configuration file that one can just edit should be in
place.

Of course the .json files do not allow for commments, so one should understand
that "bip" stands for "bridge ip", but better than the current situation.

Best

-- System Information:
Debian Release: 10.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-8-amd64 (SMP w/4 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to it_IT.UTF-8), LANGUAGE=it (charmap=UTF-8) (ignored: LC_ALL set to it_IT.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.2-4
ii  libc6               2.28-10
ii  libdevmapper1.02.1  2:1.02.155-2
ii  libltdl7            2.4.6-9
ii  libnspr4            2:4.20-1
ii  libnss3             2:3.42.1-1
ii  libseccomp2         2.3.3-4
ii  libsystemd0         241-3
ii  lsb-base            10.2019031300
ii  runc                1.0.0~rc6+dfsg1-3
ii  tini                0.18.0-1

Versions of packages docker.io recommends:
ii  ca-certificates  20190110
ii  cgroupfs-mount   1.4
ii  git              1:2.20.1-2
ii  needrestart      3.4-3
ii  xz-utils         5.2.4-1

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

-- no debconf information