You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When deploying a docker container via docker compose or swarm, the secrets should be passed via the secrets interface. Such secrets are mounted at /run/secrets/<name>. It should be possible to load such secrets file directly. Currently, it seems that the only possible way is to customize the current Dockerfile to add some shell magic like cat /run/secrets/seed and pass the seed via command line which is very insecure or to do make a symlink to the secrets file.
When deploying a docker container via docker compose or swarm, the secrets should be passed via the secrets interface. Such secrets are mounted at
/run/secrets/<name>
. It should be possible to load such secrets file directly. Currently, it seems that the only possible way is to customize the current Dockerfile to add some shell magic likecat /run/secrets/seed
and pass the seed via command line which is very insecure or to do make a symlink to the secrets file.https://docs.docker.com/compose/how-tos/use-secrets/
The text was updated successfully, but these errors were encountered: