added rootful eve quadlets

This commit is contained in:
2026-02-13 10:50:53 -05:00
parent 5a158fb439
commit 5d0d334742
7 changed files with 83 additions and 0 deletions

19
hello.container Normal file
View File

@@ -0,0 +1,19 @@
[Unit]
Description=Hello World Quadlet (prints hostname + time)
After=network-online.target
Wants=network-online.target
[Container]
Image=docker.io/library/busybox:latest
#ContainerName=hello
User=1000
UserNS=keep-id:uid=1000,gid=1000
Exec=sh -c 'while true; do echo "Hello from $(hostname) at $(date)"; sleep 5; done'
[Service]
Restart=always
RestartSec=2
TimeoutStartSec=30
TimeoutStopSec=30
# Note: omit [Install] so it won't be enabled by default