Compose: Secrets using bind mounts in version 2

Created on 27 Jul 2018  路  2Comments  路  Source: docker/compose

Hello,

Why not support secrets using bind mount in version 2 like for version 3?

aresecrets kinquestion

All 2 comments

Hi @Silex

Secrets are a Swarm concept and are not applicable to the Compose v2 model, hence why it wouldn't make sense to emulate them there.

Hope that answers your question.

Well it'd allow people to get used to secrets without using a swarm (e.g if they need to restrict resources but not use a swarm yet). But ok I understand, thanks for the rationale.

Was this page helpful?
0 / 5 - 0 ratings