Commit 60d584b
Fix self-update: use helper container to avoid race condition
The old approach ran docker stop/rm/run from inside the container being
updated. When docker stop killed the container, the shell died with it,
so docker rm and docker run never executed — leaving the container dead
(white screen) or stuck in an update loop.
Now spawns a separate helper container that runs docker compose up -d
from the outside. The compose directory is mounted at its real host path
so relative volume paths resolve correctly for the Docker daemon.
Existing users not using Watchtower/Portainer need a one-time manual
update: docker compose pull && docker compose up -d
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 0bad4c4 commit 60d584b
1 file changed
+9
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
817 | 817 | | |
818 | 818 | | |
819 | 819 | | |
820 | | - | |
| 820 | + | |
| 821 | + | |
| 822 | + | |
| 823 | + | |
821 | 824 | | |
822 | 825 | | |
823 | 826 | | |
824 | | - | |
| 827 | + | |
825 | 828 | | |
826 | 829 | | |
827 | 830 | | |
828 | 831 | | |
829 | | - | |
| 832 | + | |
| 833 | + | |
| 834 | + | |
| 835 | + | |
830 | 836 | | |
831 | 837 | | |
832 | 838 | | |
| |||
0 commit comments