docker-compose.zsus.yml app container cannot read Docker volume data — executor tars a nonexistent host mountpoint, so volume backups fail in the deployed stack #54
Labels
No labels
blocked:gate-fetch
blocked:gate-fetch
blocked:gate-fetch
blocked:gate-fetch
blocked:lint-failed
blocked:needs-decision
blocked:no-changes
blocked:no-procedure
blocked:verify-failed
bug
feature-request
in-progress
needs-decompose
needs-triage
ops-task
quickfix
security/high
security/low
security/medium
test-coverage
triage-approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/docker_backup#54
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
The
appservice indocker-compose.zsus.ymlmounts only/var/run/docker.sock,app_data:/data, andbackups:/backups. The backup executor tars the Docker-reported host mountpoint/var/lib/docker/volumes/<vol>/_data, which does not exist inside the container. Volume backups fail in the deployed stack until the container is recreated with an extra bind mount.Location
docker-compose.zsus.yml:29-32:Reproduction (from kanban QA card t_3b5379e0)
docker compose -f docker-compose.zsus.yml up -d(as-is, no extra mounts)./var/lib/docker/volumes/<vol>/_datainside the container → path does not exist → backup fails or produces an empty/invalid artifact.-v /var/lib/docker/volumes:/var/lib/docker/volumes:rw→ backup succeeds.Actual vs expected
compose up.compose up --force-recreate).References
docker-compose.zsus.yml:29-32