Vector maintains the
timberio/vector Docker images
available on Docker Hub which come pre-installed
with Vector and any recommended system dependencies. These images are available
for x86_64, ARM64, and ARMv7
The daemon deployment strategy is designed for data
collection on a single host. Vector runs in the background, in its own process,
collecting all data for that host.
Typically data is collected from a process manager, such as Journald via
journald source, but can be collected
through any of Vector's sources.
The following diagram demonstrates how it works.
Configure Vectorcat <<-VECTORCFG > /etc/vector/vector.toml[sources.in]type = "docker" # required[sinks.out]# Encodingencoding.codec = "json" # required# Generalinputs = ["in"] # requiredtype = "console" # requiredVECTORCFGexplain this command
Start the Vector containerdocker run \-v $PWD/vector.toml:/etc/vector/vector.toml:ro \-v /var/run/docker.sock:/var/run/docker.sock \timberio/vector:latest-alpineexplain this command
That's it! Simple and to the point. Hit
As shown above, you can pass a custom
Vector configuration file via the
-v flag. You'll want
to do this since the
/etc/vector/vector.toml configuration file
doesn't do anything.
How you deploy Vector is largely dependent on your use case and environment. Please see the deployment section for more info on how to deploy Vector.
Simply run with newer version in the tag:
docker pull timberio/vector:X.X.X-alpine && \docker run timberio/vector:X.X.X-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.
docker run timberio/vector:0.9.1-alpine
docker run timberio/vector:0.9.1-debian
Vector's images are multi-arch and support the x86_64, ARM64, and ARMv7 architectures. Docker handles this transparently for you.
Vector's Docker images can be downloaded with the following tags. Note that Vector maintains special tags that are automatically updated whenever Vector is released:
Vector's Docker source files are located in it's Github repo.