1. Images & Charts
  2. promtail
promtail

promtail

Utils
Updated 22 hours ago

Promtail Overview

Secure your stack with a hardened Promtail image freshly-built by Minimus. Minimus images always include the most up-to-date package version for all packages and dependencies contained in the image.


The Promtail image is used as an agent which ships the contents of local logs to a private Grafana Loki instance or Grafana Cloud.


Try It Out

Run the following command to view usage information:

docker run -d \
reg.mini.dev/promtail

Your Promtail agent is now up and running. It’s ready to collect logs based on its embedded configuration and forward them to your Loki endpoint.

If you're using the default configuration:

  • It scrapes /var/log/*.log or application logs mounted into the container.

  • Make sure your Loki instance is accessible from the container.

If you provided a custom config during image build:

  • Logs will be collected and labeled according to your custom rules.

You can now view and query the logs in Grafana, assuming Loki is connected as a data source.


Technical Considerations

The Promtail image provided by Minimus is a slim, security-hardened alternative to the public image from Docker Hub. The images are largely interchangeable, with a few differences as noted below.

Promtail built by Minimus:

  1. The working directory for this image is /src/loki, whereas the public image does not define a working directory.
  2. Drill down on the version specification tab to see the default user, listening ports, entrypoint, volumes, environment variables, etc.

The Payoff

A hardened, minimal image that will remain more secure for the long run and accrue vulnerabilities at a slower rate.


Terms & Info

Trademark

This catalog is published by Minimus. All product names, logos, and marks, other than those belonging to Minimus, shown are owned by their respective rights holders and appear here only to identify the open source software each image contains. Minimus claims no ownership of those marks and implies no affiliation with, endorsement by, certification by, or sponsorship by any rights holder.

Disclaimer

Images are provided "as-is" without warranty of any kind. "Hardened" refers to the security configuration applied at the time of build and does not constitute a guarantee of ongoing security or absence of vulnerabilities. The free tier is provided without support, SLA, or guaranteed patching timelines. Security updates may be applied to paid subscriptions before or instead of free tier images. By pulling or using any image you agree to our Terms of Use.