问题原文
原帖链接 · Juan Sebastian · CC BY-SA 3.0
Currently we im a running application on a single docker container, the application needs all sorts of sensitive data to be passed as environments variables,
Im putting those on the run command so they don't end up in the image and then on a repository, however i end up with a very non-secure run command,
Now, i understand that docker secrets exist, however, how can i use them without deploying a cluster? or is there any other way to secure this data?
Best Regards,
已采纳解答
原帖链接 · yield · CC BY-SA 3.0
You can't... It does not support secrets without Swarm. Unless ''may be'' you ''Swarm'' using only one node.
The other solution would be, I think to use a third party vault software like this one:
But then, to use the secrets in your containers from Vault, you would need to read the doc.
Hope this bring you to the right path to start.
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
