Package: docker.io
Version: 18.09.1+dfsg1-7.1+rpi1+rpt1
Severity: important
Tags: ipv6

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?

eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.74.3.189  netmask 255.255.255.252  broadcast 10.74.3.191
        inet6 2a00:1098:8:bf::1  prefixlen 64  scopeid 0x0<global>
        inet6 fe80::ba27:ebff:feeb:6b01  prefixlen 64  scopeid 0x20<link>
        ether b8:27:eb:eb:6b:01  txqueuelen 1000  (Ethernet)
        RX packets 33609450  bytes 2152188359 (2.0 GiB)
        RX errors 2  dropped 0  overruns 0  frame 2
        TX packets 33742813  bytes 1964729036 (1.8 GiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

Since docker wants to manage the IP addresses itself, I can not give it the 
entire subnet.
That would also be wrong in many ways.  So I must give it part of the subnet to 
use.

galadriel# docker network create -d macvlan \
    --subnet=10.0.1.0/24 \                   
    --subnet=2a00:1098:8:bf::1:0/116 --gateway=2a00:1098:8:bf::2 \      
    -o parent=eth0 \
    --ipv6 \
    mythic0 

no matching subnet for gateway 2a00:1098:8:bf::2

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

Unresolved. 

   * What was the outcome of this action?

the network is not created

   * What outcome did you expect instead?

the network should have been created.

Docker thinks that IPv6 works like IPv4, and it does not.
The default gateway in IPv6 can be anything, and is often an IPv6 Link-Local 
address (scoped to that interface).
There is no requirement that the addresses be on-link, so it is entirely 
reasonable to specify a gateway that is
not within the provided subnet.

*** End of the template - remove these template lines ***


-- System Information:
Distributor ID: Raspbian
Description:    Raspbian GNU/Linux 10 (buster)
Release:        10
Codename:       buster
Architecture: armv7l

Kernel: Linux 4.19.97-v7+ (SMP w/4 CPU cores)
Kernel taint flags: TAINT_CRAP
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_CA.UTF-8), LANGUAGE=en_CA:en (charmap=UTF-8) (ignored: LC_ALL set to 
en_CA.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+rpi1
ii  libdevmapper1.02.1  2:1.02.155-3
ii  libltdl7            2.4.6-9
ii  libnspr4            2:4.20-1
ii  libnss3             2:3.42.1-1+deb10u2
ii  libseccomp2         2.3.3-4
ii  libsystemd0         241-7~deb10u4+rpi1
ii  lsb-base            10.2019051400+rpi1
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+deb10u3
ii  needrestart      3.4-5
ii  xz-utils         5.2.4-1

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

-- no debconf information

Reply via email to