ibm-messaging / mq-container

Container images for IBM® MQ
Apache License 2.0
253 stars 189 forks source link

Can use Docker secrets without Docker Swarm #588

Open chughts opened 1 day ago

chughts commented 1 day ago

The statement

Docker secrets are only available via Docker Swarm services, hence to create a secret using docker, Docker Swarm must be used.

in docs/developer-config.md is not true.

It is also possible to use compose with both Docker and Podman the secrets end up in the same place /run/secrets. Though this does necessitate a docker-compose.yaml file.

arthurbarr commented 1 day ago

Thanks @chughts. @RamSubbarao could you please update this doc? Relevant link confirming that Docker Compose can also be used: https://docs.docker.com/compose/how-tos/use-secrets/