mirror of https://github.com/docker/docs.git
parent
16a7311c38
commit
eef12c06a4
|
@ -1798,8 +1798,8 @@ the service's task containers.
|
||||||
specified.
|
specified.
|
||||||
- `mode`: The permissions for the file to be mounted in `/run/secrets/`
|
- `mode`: The permissions for the file to be mounted in `/run/secrets/`
|
||||||
in the service's task containers, in octal notation. For instance, `0444`
|
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 is
|
represents world-readable. The default in Docker 1.13.1 is `0000`, but it is
|
||||||
be `0444` in newer versions. Secrets cannot be writable because they are mounted
|
`0444` in newer versions. Secrets cannot be writable because they are mounted
|
||||||
in a temporary filesystem, so if you set the writable bit, it is ignored. The
|
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
|
executable bit can be set. If you aren't familiar with UNIX file permission
|
||||||
modes, you may find this
|
modes, you may find this
|
||||||
|
|
Loading…
Reference in New Issue