Re:Introducing Docker Secrets Management
by mihular on Thursday February 09, 2017 @12:42PM
(#13608965)
What about non swarm containers? Like straight docker and docker-compose?
[ Parent
| on HN ]
docker-compose 1.11.0 will be released soon with support for secrets, probably using the same system.
Re:Introducing Docker Secrets Management
by diogomonicapt on Thursday February 09, 2017 @01:36PM
(#13609526)
Exactly. The new version of compose supports defining docker secrets inside of the compose file.
Re:Introducing Docker Secrets Management
by mihular on Friday February 10, 2017 @12:51PM
(#13617317)
But the question is whether secrets can be used outside swarm. It doesn't look so at first glance.
Re:Introducing Docker Secrets Management
by nicolaka on Friday February 10, 2017 @01:59AM
(#13613735)
secrets only work with Swarm services. New compose (1.11) uses a new format version ( v3.1) that allows you to add secrets for services and deploy using docker client ( no need for docker-compose). I don't think there's any plans atm to support secrets for non-swarm containers :(