Docker Community Forums

Share and learn in the Docker community.

Config doesn't work with Compose but Secrets does


(Douglas Miranda) #1

Hello, I’m using Docker Secrets and it’s awesome, even with Docker Compose I can “fake” by using files, so I can run locally.

Docker Configs it’s nice too, so we can see in docs we can use in a docker-compose file, follows the same structure as the secrets:

But we can see here: it does not support docker-compose up, only docker stack deploy.

So, isn’t this an inconsistency?

docker stack it may eventually replace Docker Compose(?), but until that happens, I think this is a problem. This makes the transition difficult.

Any thoughts?