Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1473f45fc6 | ||
|
|
7dc2b8b07d |
2 changed files with 0 additions and 14 deletions
|
|
@ -76,13 +76,6 @@ spec:
|
|||
- sh
|
||||
- -c
|
||||
- |
|
||||
# A reboot restarts this container inside the same pod, so the
|
||||
# dind-run emptyDir keeps the previous daemon's pid file. dockerd
|
||||
# then refuses to start ("process with PID N is still running")
|
||||
# and the runner crashloops until the pod is deleted by hand.
|
||||
# Clear the stale runtime state first so a restart is
|
||||
# self-healing.
|
||||
rm -f /var/run/docker.pid /var/run/docker.sock
|
||||
# Forgejo's container registry is reached in-cluster as a plain
|
||||
# HTTP ClusterIP (forgejo.forgejo.svc.cluster.local:3000).
|
||||
# Docker only treats 127.0.0.0/8 as insecure by default, so
|
||||
|
|
|
|||
|
|
@ -46,13 +46,6 @@ spec:
|
|||
- sh
|
||||
- -c
|
||||
- |
|
||||
# A reboot restarts this container inside the same pod, so the
|
||||
# dind-run emptyDir keeps the previous daemon's pid file. dockerd
|
||||
# then refuses to start ("process with PID N is still running")
|
||||
# and the runner crashloops until the pod is deleted by hand.
|
||||
# Clear the stale runtime state first so a restart is
|
||||
# self-healing.
|
||||
rm -f /var/run/docker.pid /var/run/docker.sock
|
||||
# --insecure-registry: the Pi registry is plain HTTP on the WG
|
||||
# hub IP. Docker only treats 127.0.0.0/8 as insecure by default,
|
||||
# so without this `docker push 10.10.0.1:5000/...` from a job
|
||||
|
|
|
|||
Loading…
Reference in a new issue