Want traces without code changes?
Install the Better Stack collector instead. It sends logs, metrics and eBPF traces from your Docker hosts with one command. This page sets up Vector for a Docker source.
Install the Better Stack collector instead. It sends logs, metrics and eBPF traces from your Docker hosts with one command. This page sets up Vector for a Docker source.
Collect logs and metrics from your Docker containers using Vector.
Select your platform:
Install and configure Vector on Ubuntu or Debian:
Curious about what the script does?
The script will ask for confirmation before making any changes.
Allow Vector to access Docker logs:
You should see your logs in Better Stack β Live tail.
Check out your metrics in the Docker dashboard.
Make sure that Vector has all necessary permissions. Run usermod -aG docker vector && service vector restart to add Vector user to the docker group and restart Vector right away.
Please let us know at hello@betterstack.com.
We're happy to help! π
Want to learn more about production log management for containers and daemon logs? Check out our comprehensive Docker logging tutorial.
Looking for manual instructions to set up Vector?
Find step-by-step instructions in our dedicated Vector guide.
We use cookies to authenticate users, improve the product user experience, and for personalized ads. Learn more.