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.
Collect logs and metrics from your Docker containers using Vector.
Select your platform:
Allow Vector to access Docker logs:
usermod -a -G docker vector
Install and configure Vector on Ubuntu or Debian:
curl -sSL https://telemetry.betterstack.com/setup-vector/docker/$SOURCE_TOKEN \
-o /tmp/setup-vector.sh && \
bash /tmp/setup-vector.sh
Curious about what the script does?
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.
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.