Skip to content

Latest commit

 

History

History
 
 

docker

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

Website  •  Docs  •  Community  •  Github


Vector

Vector is a high-performance observability data router. It makes collecting, transforming, and sending logs, metrics, and events easy. It decouples data collection & routing from your services, giving you control and data ownership, among many other benefits.

Built in Rust, Vector places high-value on performance, correctness, and operator friendliness. It compiles to a single static binary and is designed to be deployed across your entire infrastructure, serving both as a light-weight agent and a highly efficient service, making the process of getting data from A to B simple and unified.

Usage

docker run timberio/vector:latest-alpine
  • The vector binary is located at /usr/local/bin/vector, which should be in your $PATH.
  • The default configuration file is located at /etc/vector/vector.toml.

Configuring

The Vector Docker images ship with a default /etc/vector/vector.toml configuration file. To use your own configuration file:

  1. Create your own Vector configuration file and save it as vector.toml.

  2. Run the Vector Docker image with the following command:

    docker run -v $PWD/vector.toml:/etc/vector/vector.toml:ro timberio/vector:latest-alpine

    Modify $PWD to the directory where you store your local vector.toml file.

Image Variants

timberio/vector:<version>-alpine

This image is based on the alpine Docker image, which is a Linux distribution built around musl libc and BusyBox. It is considerably smaller in size than other Docker images and statically links libraries. This is the image we recommend due to it's small size and reliability.

timberio/vector:<version>-debian

This image is based on the debian-slim image, which is a smaller, more compact variant of the debian image.

Versions

Vector's Docker images include a special latest version that will be updated whenever Vector is released. All other releases are available via the X.X.X tag:

docker run timberio/vector:X.X.X-alpine

Updating

Simply run the with the latest tag:

docker run timberio/vector:latest-alpine

Or specify the exact version:

docker run timberio/vector:X.X.X-alpine