docker-socket-proxy icon indicating copy to clipboard operation
docker-socket-proxy copied to clipboard

[ALERT] 119/204037 (1) : Starting frontend dockerfrontend: cannot create listening socket [:::2375]

Open johntdyer opened this issue 9 months ago • 5 comments

I am running the latest image

ghcr.io/tecnativa/docker-socket-proxy       latest           d6414b470cf2   3 weeks ago     19.3MB

I have reviewed https://github.com/Tecnativa/docker-socket-proxy/issues/109 and adjusted my docker file as suggested but it doesnt seem to make any difference

dockerproxy:
    image: ghcr.io/tecnativa/docker-socket-proxy:latest
    container_name: dockerproxy
    restart: unless-stopped
    privileged: true  
    
    environment:
      - CONTAINERS=1 # Allow access to viewing containers
      - POST=0 # Disallow any POST operations (effectively read-only)
      - DISABLE_IPV6=true
    ports:
      - 2375:2375
    labels:
      com.centurylinklabs.watchtower.enable: true

    volumes:
       - /var/run/docker.sock:/var/run/docker.sock:ro # Mounted as read-only

docker logs dockerproxy

➜  shared-config docker logs dockerproxy
[WARNING] 119/203850 (1) : config : missing timeouts for backend 'docker-events'.
   | While not properly invalid, you will certainly encounter various problems
   | with such a configuration. To fix this, please ensure that all following
   | timeouts are set to a non-zero value: 'client', 'connect', 'server'.
[WARNING] 119/203850 (1) : Can't open global server state file '/var/lib/haproxy/server-state': No such file or directory
Proxy dockerbackend started.
Proxy docker-events started.
[NOTICE] 119/203850 (1) : haproxy version is 2.2.32-4081d5a
[ALERT] 119/203850 (1) : Starting frontend dockerfrontend: cannot create listening socket [:::2375]
[WARNING] 119/203850 (1) : config : missing timeouts for backend 'docker-events'.
   | While not properly invalid, you will certainly encounter various problems
   | with such a configuration. To fix this, please ensure that all following
   | timeouts are set to a non-zero value: 'client', 'connect', 'server'.
[WARNING] 119/203850 (1) : Can't open global server state file '/var/lib/haproxy/server-state': No such file or directory
Proxy dockerbackend started.
Proxy docker-events started.
[NOTICE] 119/203850 (1) : haproxy version is 2.2.32-4081d5a
[ALERT] 119/203850 (1) : Starting frontend dockerfrontend: cannot create listening socket [:::2375]
[WARNING] 119/203851 (1) : config : missing timeouts for backend 'docker-events'.
   | While not properly invalid, you will certainly encounter various problems
   | with such a configuration. To fix this, please ensure that all following
   | timeouts are set to a non-zero value: 'client', 'connect', 'server'.
[WARNING] 119/203851 (1) : Can't open global server state file '/var/lib/haproxy/server-state': No such file or directory
Proxy dockerbackend started.
Proxy docker-events started.
[NOTICE] 119/203851 (1) : haproxy version is 2.2.32-4081d5a
[ALERT] 119/203851 (1) : Starting frontend dockerfrontend: cannot create listening socket [:::2375]
[WARNING] 119/203852 (1) : config : missing timeouts for backend 'docker-events'.
   | While not properly invalid, you will certainly encounter various problems
   | with such a configuration. To fix this, please ensure that all following
   | timeouts are set to a non-zero value: 'client', 'connect', 'server'.
[WARNING] 119/203852 (1) : Can't open global server state file '/var/lib/haproxy/server-state': No such file or directory
Proxy dockerbackend started.
Proxy docker-events started.
[NOTICE] 119/203852 (1) : haproxy version is 2.2.32-4081d5a
[ALERT] 119/203852 (1) : Starting frontend dockerfrontend: cannot create listening socket [:::2375]
[WARNING] 119/203853 (1) : config : missing timeouts for backend 'docker-events'.
   | While not properly invalid, you will certainly encounter various problems
   | with such a configuration. To fix this, please ensure that all following
   | timeouts are set to a non-zero value: 'client', 'connect', 'server'.
[WARNING] 119/203853 (1) : Can't open global server state file '/var/lib/haproxy/server-state': No such file or directory
Proxy dockerbackend started.
Proxy docker-events started.
[NOTICE] 119/203853 (1) : haproxy version is 2.2.32-4081d5a
[ALERT] 119/203853 (1) : Starting frontend dockerfrontend: cannot create listening socket [:::2375]
[WARNING] 119/203855 (1) : config : missing timeouts for backend 'docker-events'.
   | While not properly invalid, you will certainly encounter various problems
   | with such a configuration. To fix this, please ensure that all following
   | timeouts are set to a non-zero value: 'client', 'connect', 'server'.
[WARNING] 119/203855 (1) : Can't open global server state file '/var/lib/haproxy/server-state': No such file or directory
Proxy dockerbackend started.
Proxy docker-events started.
[NOTICE] 119/203855 (1) : haproxy version is 2.2.32-4081d5a
[ALERT] 119/203855 (1) : Starting frontend dockerfrontend: cannot create listening socket [:::2375]
[WARNING] 119/203859 (1) : config : missing timeouts for backend 'docker-events'.
   | While not properly invalid, you will certainly encounter various problems
   | with such a configuration. To fix this, please ensure that all following
   | timeouts are set to a non-zero value: 'client', 'connect', 'server'.
[WARNING] 119/203859 (1) : Can't open global server state file '/var/lib/haproxy/server-state': No such file or directory
Proxy dockerbackend started.
Proxy docker-events started.
[NOTICE] 119/203859 (1) : haproxy version is 2.2.32-4081d5a
[ALERT] 119/203859 (1) : Starting frontend dockerfrontend: cannot create listening socket [:::2375]
[WARNING] 119/203906 (1) : config : missing timeouts for backend 'docker-events'.
   | While not properly invalid, you will certainly encounter various problems
   | with such a configuration. To fix this, please ensure that all following
   | timeouts are set to a non-zero value: 'client', 'connect', 'server'.
[WARNING] 119/203906 (1) : Can't open global server state file '/var/lib/haproxy/server-state': No such file or directory
Proxy dockerbackend started.
Proxy docker-events started.
[NOTICE] 119/203906 (1) : haproxy version is 2.2.32-4081d5a
[ALERT] 119/203906 (1) : Starting frontend dockerfrontend: cannot create listening socket [:::2375]
[WARNING] 119/203919 (1) : config : missing timeouts for backend 'docker-events'.
   | While not properly invalid, you will certainly encounter various problems
   | with such a configuration. To fix this, please ensure that all following
   | timeouts are set to a non-zero value: 'client', 'connect', 'server'.
[WARNING] 119/203919 (1) : Can't open global server state file '/var/lib/haproxy/server-state': No such file or directory
Proxy dockerbackend started.
Proxy docker-events started.
[NOTICE] 119/203919 (1) : haproxy version is 2.2.32-4081d5a
[ALERT] 119/203919 (1) : Starting frontend dockerfrontend: cannot create listening socket [:::2375]
[WARNING] 119/203945 (1) : config : missing timeouts for backend 'docker-events'.
   | While not properly invalid, you will certainly encounter various problems
   | with such a configuration. To fix this, please ensure that all following
   | timeouts are set to a non-zero value: 'client', 'connect', 'server'.
[WARNING] 119/203945 (1) : Can't open global server state file '/var/lib/haproxy/server-state': No such file or directory
Proxy dockerbackend started.
Proxy docker-events started.
[NOTICE] 119/203945 (1) : haproxy version is 2.2.32-4081d5a
[ALERT] 119/203945 (1) : Starting frontend dockerfrontend: cannot create listening socket [:::2375]
[WARNING] 119/204037 (1) : config : missing timeouts for backend 'docker-events'.
   | While not properly invalid, you will certainly encounter various problems
   | with such a configuration. To fix this, please ensure that all following
   | timeouts are set to a non-zero value: 'client', 'connect', 'server'.
[WARNING] 119/204037 (1) : Can't open global server state file '/var/lib/haproxy/server-state': No such file or directory
Proxy dockerbackend started.
Proxy docker-events started.
[NOTICE] 119/204037 (1) : haproxy version is 2.2.32-4081d5a
[ALERT] 119/204037 (1) : Starting frontend dockerfrontend: cannot create listening socket [:::2375]
[WARNING] 119/204137 (1) : config : missing timeouts for backend 'docker-events'.
   | While not properly invalid, you will certainly encounter various problems
   | with such a configuration. To fix this, please ensure that all following
   | timeouts are set to a non-zero value: 'client', 'connect', 'server'.
[WARNING] 119/204137 (1) : Can't open global server state file '/var/lib/haproxy/server-state': No such file or directory
Proxy dockerbackend started.
Proxy docker-events started.
[NOTICE] 119/204137 (1) : haproxy version is 2.2.32-4081d5a
[ALERT] 119/204137 (1) : Starting frontend dockerfrontend: cannot create listening socket [:::2375]
[WARNING] 119/204238 (1) : config : missing timeouts for backend 'docker-events'.
   | While not properly invalid, you will certainly encounter various problems
   | with such a configuration. To fix this, please ensure that all following
   | timeouts are set to a non-zero value: 'client', 'connect', 'server'.
[WARNING] 119/204238 (1) : Can't open global server state file '/var/lib/haproxy/server-state': No such file or directory
Proxy dockerbackend started.
Proxy docker-events started.
[NOTICE] 119/204238 (1) : haproxy version is 2.2.32-4081d5a
[ALERT] 119/204238 (1) : Starting frontend dockerfrontend: cannot create listening socket [:::2375]
➜  shared-config
➜  shared-config docker version
Client: Docker Engine - Community
 Version:           26.0.2
 API version:       1.45
 Go version:        go1.21.9
 Git commit:        3c863ff
 Built:             Thu Apr 18 16:27:49 2024
 OS/Arch:           linux/amd64
 Context:           default

Server: Docker Engine - Community
 Engine:
  Version:          26.0.2
  API version:      1.45 (minimum version 1.24)
  Go version:       go1.21.9
  Git commit:       7cef0d9
  Built:            Thu Apr 18 16:27:49 2024
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          v1.6.14
  GitCommit:        9ba4b250366a5ddde94bb7c9d1def331423aa323
 runc:
  Version:          1.1.3
  GitCommit:        v1.1.3-0-g6724737f
 docker-init:
  Version:          0.19.0

johntdyer avatar Apr 29 '24 20:04 johntdyer