Cannot connect to /var/run/docker.sock


(None) #1

Hi I'm trying the new 6.0.0-alpha2 beat I try to launch as follows...

docker run
-v ~/filebeat.yml:/usr/share/filebeat/filebeat.yml
-u root docker.elastic.co/beats/filebeat:6.0.0-alpha2

The container logs print Cannot connect to /var/run/docker.sock Docker is definitely running. It's the filebeat container that cannot connect to the host unix:///var/run/docker.sock

Any ideas?


(None) #2

Never mind... We need to map a volume -v /var/run/docker.sock:/var/run/docker.sock


(system) #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.