Package: docker.io Version: 20.10.19+dfsg1-1 Severity: normal Hi,
When using `docker build`, my host network, and container network are both down. This problem make `docker build` useless since it cannot download necessary artifacts to build image anymore. The problematic docker file is https://github.com/apache/flink-docker/blob/master/1.16/scala_2.12-java11-ubuntu/Dockerfile. However, other Dockerfile can also reprocedure the issue. The problem might be caused by additinoal routing table record added by docker. The following is normal `route` output: Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface default _gateway 0.0.0.0 UG 600 0 0 wlp3s0 10.0.3.0 0.0.0.0 255.255.255.0 U 0 0 0 lxcbr0 link-local 0.0.0.0 255.255.0.0 U 1000 0 0 wlp3s0 172.17.0.0 0.0.0.0 255.255.0.0 U 0 0 0 docker0 192.168.0.0 0.0.0.0 255.255.255.0 U 600 0 0 wlp3s0 And the following is `route` output when `docker build` is running: Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 0.0.0.0 255.255.255.255 UH 0 0 0 veth7e48846 default 0.0.0.0 0.0.0.0 U 0 0 0 veth7e48846 default _gateway 0.0.0.0 UG 600 0 0 wlp3s0 10.0.3.0 0.0.0.0 255.255.255.0 U 0 0 0 lxcbr0 link-local 0.0.0.0 255.255.0.0 U 0 0 0 veth7e48846 link-local 0.0.0.0 255.255.0.0 U 1000 0 0 wlp3s0 172.17.0.0 0.0.0.0 255.255.0.0 U 0 0 0 docker0 192.168.0.0 0.0.0.0 255.255.255.0 U 600 0 0 wlp3s0 The new entry for default destination might cause the problem. -- System Information: Debian Release: bookworm/sid APT prefers unstable-debug APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'stable-debug'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental-debug'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 6.1.0-0-amd64 (SMP w/16 CPU threads; PREEMPT) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages docker.io depends on: ii adduser 3.129 ii containerd 1.6.9~ds1-1 ii init-system-helpers 1.65.2 ii iptables 1.8.8-1 ii libc6 2.36-4 ii libdevmapper1.02.1 2:1.02.185-2 ii libsystemd0 252.1-1 ii runc 1.1.4+ds1-1 ii sysvinit-utils [lsb-base] 3.05-7 ii tini 0.19.0-1 Versions of packages docker.io recommends: ii apparmor 3.0.7-1+b1 ii ca-certificates 20211016 ii cgroupfs-mount 1.4 ii git 1:2.38.1-1 ii needrestart 3.6-2 ii xz-utils 5.2.7-0.1 Versions of packages docker.io suggests: pn aufs-tools <none> pn btrfs-progs <none> ii debootstrap 1.0.128+nmu2 pn docker-doc <none> ii e2fsprogs 1.46.6~rc1-1+b1 pn rinse <none> pn rootlesskit <none> pn xfsprogs <none> pn zfs-fuse | zfsutils-linux <none> -- no debconf information -- ChangZhuo Chen (陳昌倬) czchen@{czchen,debian}.org http://czchen.info/ Key fingerprint = BA04 346D C2E1 FE63 C790 8793 CC65 B0CD EC27 5D5B
signature.asc
Description: PGP signature