This commit is contained in:
Misty Stanley-Jones 2017-02-22 09:49:09 -08:00 committed by GitHub
parent 85bcea8ac1
commit 33857cfe29
1 changed files with 4 additions and 3 deletions

View File

@ -911,9 +911,10 @@ the service's task containers.
- `mode`: The permissions for the file that will be mounted in `/run/secrets/`
in the service's task containers, in octal notation. For instance, `0444`
represents world-readable. The default in Docker 1.13.1 is `0000`, but will
be `0444` in the future. Secrets cannot be writable, but the executable bit
can be set. If you aren't familiar with UNIX file permission modes, you
may find this
be `0444` in the future. Secrets cannot be writable because they are mounted
in a temporary filesystem, so if you set the writable bit, it is ignored. The
executable bit can be set. If you aren't familiar with UNIX file permission
modes, you may find this
[permissions calculator](http://permissions-calculator.org/){: target="_blank" class="_" }
useful.