Hello,
I am new to Docker, and i have try to install Docker and docker compose on my debian server to deploy some container.
On this server i am running a virtual machine with KVM, which use a bridge to my network connection.
When i installed docker compose and docker, the bridge is broken.
Docker create several interface, and broke the existing bridge.
I have no container installed and running yet, but i am not able to use correctly my KVM.
What is the way to go to be able to keep my existing bridge and use some container?
Ifconfig before installing Docker and docker compose
typebr0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.105.2 netmask 255.255.255.0 broadcast 192.168.105.255
inet6 fe80::2ef0:5dff:fe99:dcb7 prefixlen 64 scopeid 0x20<link>
inet6 fdb5:6134:a89a:0:2ef0:5dff:fe99:dcb7 prefixlen 64 scopeid 0x0<global>
ether 2c:f0:5d:99:dc:b7 txqueuelen 1000 (Ethernet)
RX packets 9081 bytes 698973 (682.5 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 16844 bytes 12808362 (12.2 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
enp37s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
ether 2c:f0:5d:99:dc:b7 txqueuelen 1000 (Ethernet)
RX packets 9211 bytes 835425 (815.8 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 16844 bytes 12808362 (12.2 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Boucle locale)
RX packets 67 bytes 10198 (9.9 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 67 bytes 10198 (9.9 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 or paste code here
Ifconfig after installing Docker and docker compose
br0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.105.2 netmask 255.255.255.0 broadcast 192.168.105.255
inet6 fe80::2ef0:5dff:fe99:dcb7 prefixlen 64 scopeid 0x20<link>
inet6 fdb5:6134:a89a:0:2ef0:5dff:fe99:dcb7 prefixlen 64 scopeid 0x0<global>
ether 2c:f0:5d:99:dc:b7 txqueuelen 1000 (Ethernet)
RX packets 10011 bytes 772574 (754.4 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 23603 bytes 22155815 (21.1 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
br-80355a11f2de: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 172.19.0.1 netmask 255.255.0.0 broadcast 172.19.255.255
ether 02:42:2a:75:b6:f6 txqueuelen 0 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
docker0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255
ether 02:42:60:54:ed:bf txqueuelen 0 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
enp37s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
ether 2c:f0:5d:99:dc:b7 txqueuelen 1000 (Ethernet)
RX packets 11775 bytes 1327036 (1.2 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 24995 bytes 22390392 (21.3 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Boucle locale)
RX packets 73 bytes 10312 (10.0 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 73 bytes 10312 (10.0 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
tap0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::fcc8:85ff:fe7f:4b3f prefixlen 64 scopeid 0x20<link>
ether fe:c8:85:7f:4b:3f txqueuelen 1000 (Ethernet)
RX packets 1748 bytes 267453 (261.1 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1314 bytes 408295 (398.7 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
My /etc/network/interfaces
auto lo br0
iface lo inet loopback
# Configurez les interfaces manuellement en Ʃvitant les conflits avec le manager rƩseau.
iface enp37s0 inet manual
# Configuration du pont(bridge)
iface br0 inet dhcp
bridge_ports enp37s0
bridge_hw 2C:F0:5D:99:DC:B7