add dind
This commit is contained in:
parent
70f8f72705
commit
2941f60957
2 changed files with 27 additions and 0 deletions
25
beeper/etc/containers/systemd/dind/dind.container
Normal file
25
beeper/etc/containers/systemd/dind/dind.container
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
[Unit]
|
||||
Description=Docker-in-Podman
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Container]
|
||||
Image=docker.io/library/docker:dind
|
||||
ContainerName=dind
|
||||
AutoUpdate=registry
|
||||
Environment=DOCKER_HOST=unix:///var/run/docker.sock
|
||||
SecurityLabelDisable=true
|
||||
PodmanArgs=--privileged --cgroupns=host
|
||||
HealthCmd=docker info || exit 1
|
||||
HealthInterval=5s
|
||||
HealthTimeout=3s
|
||||
HealthRetries=5
|
||||
Volume=dind.volume:/var/lib/docker:Z
|
||||
Volume=/var/run/dind:/var/run:z
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
RestartSec=10s
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
2
beeper/etc/containers/systemd/dind/dind.volume
Normal file
2
beeper/etc/containers/systemd/dind/dind.volume
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
[Volume]
|
||||
VolumeName=dind
|
||||
Loading…
Add table
Add a link
Reference in a new issue