Network Problems After Installation from Docker

Doenerknall

New Member
Dec 2, 2022
5
1
3
I am having strange behaviour after installing 7.3-3 from scratch on Lenovo Thinkcentre M900.
After installing docker in a LXC or VM i get kicked out of the LXC.
I can reproduce that with different distros. First i tried Ubuntu and with Rockylinux the same.
I am logged in via ssh and get kicked out with "client_loop: send disconnect: Broken pipe". When retrying to relogin , "ssh: connect to host 10.0.10.120 port 22: Connection refused". And now comes the fun, after nmap -sS 10.0.10.120 i am able to relogin.
Nested and keyctl is hocked.
See attached screenshot. Can someone explain that to me?
Ok, same problem with 7.2-3. What am i doing wrong?
 

Attachments

  • 9C574F49-ABF8-499E-B535-2D277686153B.jpeg
    9C574F49-ABF8-499E-B535-2D277686153B.jpeg
    386.8 KB · Views: 23
  • 89FCC5E5-33FC-4C2F-818B-244916ECE08F.jpeg
    89FCC5E5-33FC-4C2F-818B-244916ECE08F.jpeg
    195.2 KB · Views: 18
Hey,

I assume you mean after starting docker containers or is this happening right after the installation of docker? Could you post the output of journalctl -u sshd.service -b and lsof -i -P -n | grep LISTEN after it kicked you out(and you're connected again)?
 
Hey,

I assume you mean after starting docker containers or is this happening right after the installation of docker? Could you post the output of journalctl -u sshd.service -b and lsof -i -P -n | grep LISTEN after it kicked you out(and you're connected again)?
This happens after installing docker and setting up container. At the moment i am on vacation. On friday i am back and can post the output. Without docker installed the LXC container run without this problems. The other Problem is, before this happens DNS lookups ok, after reconnecting to the LXC container i only get nslookup after the 3 try. Udo
 
Last edited:
I apologize for the confusion. I started with Proxmox from scratch.
Only installed Ubuntu 22.10 LXC container, no docker. Sometimes i can't login to the LXC Container.

snipped of my /etc/sysctl.conf
#disable ipv6

net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1

why is sshd listen on ipv6 address?

On the attached screenshot you can see the wanted output of journactl and lsof.
 

Attachments

  • Bildschirm­foto 2022-12-09 um 12.06.50.png
    Bildschirm­foto 2022-12-09 um 12.06.50.png
    435.8 KB · Views: 6
Last edited:
I apologize for the confusion. I started with Proxmox from scratch.
Only installed Ubuntu 22.10 LXC container, no docker. Sometimes i can't login to the LXC Container.

snipped of my /etc/sysctl.conf
#disable ipv6

net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1

why is sshd listen on ipv6 address?

On the attached screenshot you can see the wanted output of journactl and lsof.
Now it happened again:

udo@ubuntu-test:~$ client_loop: send disconnect: Broken pipe

Connected via console from Proxmox:
udo@ubuntu-test:~$ sudo lsof -i -P -n | grep LISTEN
[sudo] password for udo:
systemd 1 root 39u IPv6 51195 0t0 TCP *:22 (LISTEN)
systemd-r 96 systemd-resolve 14u IPv4 51188 0t0 TCP 127.0.0.53:53 (LISTEN)
systemd-r 96 systemd-resolve 16u IPv4 51190 0t0 TCP 127.0.0.54:53 (LISTEN)
sshd 121 root 3u IPv6 51195 0t0 TCP *:22 (LISTEN)
master 273 root 13u IPv4 51764 0t0 TCP 127.0.0.1:25 (LISTEN)
udo@ubuntu-test:~$ sudo journalctl -u sshd.service -b
-- No entries --
udo@ubuntu-test:~$ date
Fri Dec 9 11:56:29 UTC 2022
udo@ubuntu-test:~$ sudo ping google.de
ping: google.de: Temporary failure in name resolution
udo@ubuntu-test:~$ sudo ping google.de
ping: google.de: Temporary failure in name resolution
udo@ubuntu-test:~$ sudo ping google.de
PING google.de (142.251.36.195) 56(84) bytes of data.
64 bytes from muc12s12-in-f3.1e100.net (142.251.36.195): icmp_seq=1 ttl=117 time=31.0 ms
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!