Better Stack Docker logging

Start logging in 2 minutes

Collect logs and metrics from your Docker containers using Vector.

Select your platform:

Ubuntu • Debian

1. Grant permissions

Allow Vector to access Docker logs:

Grant Vector permissions
usermod -a -G docker vector

2. Setup

Install and configure Vector on Ubuntu or Debian:

Set up Vector
  -o /tmp/ && \
  bash /tmp/

Curious about what the script does?

  • Installs Vector using official package.
  • Configures Vector for your Better Stack source.
  • Enables and restarts Vector.

The script will ask for confirmation before making any changes.

You should see your logs in Better Stack → Live tail.

Check out your metrics in the Docker dashboard.

Need help?

Please let us know at
We're happy to help! 🙏

Additional information