k8s-sidecar
K8s-Sidecar Overview
Secure your stack with a hardened K8s-Sidecar 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.
Run the K8s-Sidecar container image in Kubernetes pods to automatically watch and sync files such as ConfigMaps or log files. K8s-Sidecar is typically deployed alongside a main application container within a pod so it can perform supporting tasks like syncing files or exporting logs and forwarding them to logging systems.
Try It Out
Take the image for a test run:
docker run --rm \
reg.mini.dev/k8s-sidecarThe container should print output such as:
{"time": "2025-06-25T10:46:44.083961+00:00", "level": "INFO", "msg": "Starting collector"}
{"time": "2025-06-25T10:46:44.084399+00:00", "level": "INFO", "msg": "No folder annotation was provided, defaulting to k8s-sidecar-target-directory"}
{"time": "2025-06-25T10:46:44.084612+00:00", "level": "CRITICAL", "msg": "Should have added {LABEL} as environment variable! Exit"}Technical Considerations
The K8s-Sidecar image provided by Minimus is a slim, security-hardened alternative to the public image. The images are largely interchangeable, with a few differences as noted below.
K8s-Sidecar built by Minimus:
- The image contains the k8s-sidecar python app. The default entrypoint just runs the k8s-sidecar app without any flags.
- Runs as non-root by default as user 65534 to match the default user in the public image.
- The working directory is under
/usr/share/app. The public image working directory is/app. - 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.
- See the risk reduction dashboard for a detailed CVE comparison over the past 30 days.
- Review the compliance report to see the default hardening and security configurations for the image.
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.