Stray-copy fix: the copy container runs with --no-healthcheck (the image's controller health check showed it as starting on the 9202 proof); unreleased
gates / gates (push) Successful in 1m41s

This commit is contained in:
2026-10-22 20:39:05 +02:00
parent 66a69d4954
commit 912e59210d
3 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -808,7 +808,7 @@ func rsyncMirror(src, dst string) error {
args := append([]string{"run", "--rm", "--name", name, "--label", tier2CopyLabel + "=1",
"--label", tier2CopyAppLabel + "=" + tier2DockerSafe(app),
"--memory", tier2CopyMemCap, "--memory-swap", tier2CopyMemCap,
"--network", "none", "--pull", "never",
"--network", "none", "--pull", "never", "--no-healthcheck", // the image's controller health check means nothing here
// --mount (not -v): a path the daemon does not see is REFUSED (exit 125 → the in-process copy) instead of
// created empty — an empty source would let `--delete` empty the copy (review 2026-10-22 night, C4).
"--mount", "type=bind,src=" + s + ",dst=" + s + ",readonly", "--mount", "type=bind,src=" + d + ",dst=" + d,