-
I'm interested in adopting vector. We run our workloads in kubernetes and run our local developer environments with docker compose. I can see a fairly easy path to integrating with kubernetes but I'm having trouble figuring out how to configure vector to collect the logs of other containers running in docker compose. Is there a pre-defined source which I can use for this? Is there a sample config I can follow to set this up? I've tried using the following config
but then when I start my docker compose script I only see the demo logs
I have many services in my docker compose file outputting many logs. I guess that in this instance I haven't configured vector to correctly communicate with docker from within docker? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
As is typical, I found the solution within minutes of posting the question. I mounted the host docker socket into the vector container like so in my docker compose:
As usual, there are security considerations. |
Beta Was this translation helpful? Give feedback.
As is typical, I found the solution within minutes of posting the question. I mounted the host docker socket into the vector container like so in my docker compose:
As usual, there are security considerations.