4 ms·
What about non swarm containers? Like straight docker and docker-compose?
by mihular 10y ago
What about non swarm containers? Like straight docker and docker-compose?
- odc 10y agodocker-compose 1.11.0 will be released soon with support for secrets, probably using the same system.
- diogomonicapt 10y agoExactly. The new version of compose supports defining docker secrets inside of the compose file.
- mihular 10y agoBut the question is whether secrets can be used outside swarm. It doesn't look so at first glance.
- nicolaka 10y agosecrets 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 :(