mirror of https://github.com/docker/docs.git
Remove warning for limitation in Docker 1.13.1 (#4180)
Docker 1.13.1 is EOL, and no longer supported, so this warning is a bit redundant now. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
fad97596eb
commit
587248348c
|
@ -1330,15 +1330,6 @@ container access to the secret and mounts it at `/run/secrets/<secret_name>`
|
|||
within the container. The source name and destination mountpoint are both set
|
||||
to the secret name.
|
||||
|
||||
> Limitations of short syntax in Docker 1.13.1
|
||||
>
|
||||
> Due to a bug in Docker 1.13.1, using the short syntax currently
|
||||
> mounts the secret with permissions `000`, which means secrets defined using
|
||||
> the short syntax are unreadable within the container if the command does not
|
||||
> run as the `root` user. The workaround is to use the long syntax instead if
|
||||
> you use Docker 1.13.1 and the secret must be read by a non-`root` user.
|
||||
{: .warning}
|
||||
|
||||
The following example uses the short syntax to grant the `redis` service
|
||||
access to the `my_secret` and `my_other_secret` secrets. The value of
|
||||
`my_secret` is set to the contents of the file `./my_secret.txt`, and
|
||||
|
|
Loading…
Reference in New Issue