Closed StefanScherer closed 4 years ago
I'm trying to add a Sumo Collector on our Windows Server nodes which also run Docker engine. I've read in https://help.sumologic.com/07Sumo-Logic-Apps/10Containers_and_Orchestration/Docker_Apps/Docker/01-Collect-Logs-and-Metrics-from-Docker that Windows is not supported. On Windows the Docker engine creates a Windows Named Pipe \\.\pipe\docker_engine (or npipe:////./pipe/docker_engine) instead of the Unix socket /var/run/docker.sock.
\\.\pipe\docker_engine
npipe:////./pipe/docker_engine
/var/run/docker.sock
How difficult would it be to read from the Windows named pipe instead of the Unix socket?
Maybe like this example? https://cdimascio.wordpress.com/2014/01/11/named-pipes-with-java/
Tools like Portainer are also able use the Docker API via the named pipe: https://github.com/portainer/portainer/issues/1179
I'm trying to add a Sumo Collector on our Windows Server nodes which also run Docker engine. I've read in https://help.sumologic.com/07Sumo-Logic-Apps/10Containers_and_Orchestration/Docker_Apps/Docker/01-Collect-Logs-and-Metrics-from-Docker that Windows is not supported. On Windows the Docker engine creates a Windows Named Pipe
\\.\pipe\docker_engine
(ornpipe:////./pipe/docker_engine
) instead of the Unix socket/var/run/docker.sock
.How difficult would it be to read from the Windows named pipe instead of the Unix socket?
Maybe like this example? https://cdimascio.wordpress.com/2014/01/11/named-pipes-with-java/
Tools like Portainer are also able use the Docker API via the named pipe: https://github.com/portainer/portainer/issues/1179