Skip to content

Commit bcffe0b

Browse files
committed
Clarify docs section about user executing labeled commands
1 parent 144e65c commit bcffe0b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -657,7 +657,8 @@ volumes:
657657
The backup procedure is guaranteed to wait for all `pre` or `post` commands to finish before proceeding.
658658
However there are no guarantees about the order in which they are run, which could also happen concurrently.
659659

660-
By default the backup command is executed by the root user. It is possible to specify a custom user that is used to run commands in dedicated labels with the format `docker-volume-backup.[step]-[pre|post].user`:
660+
By default the backup command is executed by the user provided by the container's image.
661+
It is possible to specify a custom user that is used to run commands in dedicated labels with the format `docker-volume-backup.[step]-[pre|post].user`:
661662

662663
```yml
663664
version: '3'

0 commit comments

Comments
 (0)