Proxmox LXC hostname issue #3.

This commit is contained in:
m1k1o
2021-04-07 20:30:46 +02:00
parent 737dcc3e75
commit 750f3d02f6
+3 -2
View File
@@ -169,8 +169,9 @@ func (manager *RoomManagerCtx) Create(settings types.RoomSettings) (string, erro
config := &container.Config{
// Hostname
Hostname: containerName,
// Domainname
Domainname: containerName,
// Domainname is preventing from running container on LXC (Proxmox)
// https://www.gitmemory.com/issue/docker/for-linux/743/524569376
// Domainname: containerName,
// List of exposed ports
ExposedPorts: exposedPorts,
// List of environment variable to set in the container