vector icon indicating copy to clipboard operation
vector copied to clipboard

Tutorial on https://vector.dev/docs/setup/installation/platforms/docker/ failed

Open DmitriyPanteleev opened this issue 5 years ago • 2 comments

The tutorial on:

https://vector.dev/docs/setup/installation/platforms/docker/

Here's what went wrong:

ERROR source{component_kind="source" component_name=logs component_type=docker_logs}: vector::sources::docker_logs: Listing currently running containers failed. error=error trying to connect: No such file or directory (os error 2) May 28 08:54:25.059 INFO vector: Vector has started. version="0.13.1" git_version="v0.13.1" released="Thu, 29 Apr 2021 14:20:13 +0000" arch="x86_64"

DmitriyPanteleev avatar May 28 '21 09:05 DmitriyPanteleev

👍 thanks @DmitriyPanteleev . The tutorial should include mounting the docker socket into the container. You can do that via -v /var/lib/docker.sock:/var/lib/docker.sock.

jszwedko avatar Jun 04 '21 00:06 jszwedko

Yes. I figured it out on my own. But it shoud be in documentation/tutorial. Thank you anyway.

DmitriyPanteleev avatar Jun 04 '21 08:06 DmitriyPanteleev