mirror of
https://github.com/offen/docker-volume-backup.git
synced 2025-02-22 08:00:23 +01:00
Update stop-containers-during-backup.md
Read-only for /var/run/docker.sock:/var/run/docker.sock is wrong. Otherwise, a stop of different containers may not be possible. Here is it all right: https://offen.github.io/docker-volume-backup/recipes/#using-mariadb-dumpmysqldump-to-prepare-the-backup
This commit is contained in:
parent
8f0a1c9809
commit
fb669e9217
@ -31,7 +31,7 @@ services:
|
||||
BACKUP_STOP_DURING_BACKUP_LABEL: service1
|
||||
volumes:
|
||||
- data:/backup/my-app-backup:ro
|
||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
|
||||
volumes:
|
||||
data:
|
||||
|
Loading…
Reference in New Issue
Block a user