A tiny, static init-container utility for Kubernetes.
440
docker.io/jlcox1970/side-loader is a tiny, static init-container utility for Kubernetes.
It recursively copies files from one directory to another while preserving permissions, symlinks, and ownership — with optional UID/GID overrides.
| Variable | Default | Description |
|---|---|---|
SRC_DIR | /src | Source directory |
DST_DIR | /destination | Destination directory |
UID | unset | Override file UID |
GID | unset | Override file GID |
Supports loading from a .env file automatically if present.
initContainers:
- name: side-loader
image: docker.io/jlcox1970/side-loader
env:
- name: SRC_DIR
value: /app/defaults
- name: DST_DIR
value: /data
- name: UID
value: "1000"
- name: GID
value: "1000"
volumeMounts:
- name: data
mountPath: /data
version: "3.9"
services:
side-loader:
image: docker.io/jlcox1970/side-loader
env_file:
- .env
volumes:
- ./data:/data
environment:
DST_DIR: /data
Example .env:
SRC_DIR=/src
UID=1000
GID=1000
chown errors are ignoredMinimal, predictable, and purpose-built for init containers.
Content type
Image
Digest
sha256:8c5483e69…
Size
1.4 MB
Last updated
9 months ago
docker pull jlcox1970/side-loader:1.0.1