proxmox adds localhost ipv6 entries to /etc/hosts inside the containers

eth

Well-Known Member
Feb 24, 2016
68
3
48
37
I've just noticed that after rebooting a proxmox server, there are new lines added to /etc/hosts inside Centos containers. They look like this:

::1 localhost​

This is undesirable, since my containers have no ipv6 support (and I don't need them to have it).

How can I disable this?
 
There is no need to disable this. There is no harm by this entry
For some reason it breaks my nginx - php-fpm connection. I get tonns of "Cannot connect to ::1" errors in my nginx logs (probably due to it looking up localhost through /etc/hosts)
 

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!