Docker Community Forums

Share and learn in the Docker community.

Support access to secrets in unmanaged containers

My Swarm runs a mixture of managed services and unmanaged containers. The containers with persistent data run as unmanaged (via docker run) since the persistent data is stored in a host ssd.

I would love to start using secrets for the configuration of mysql, but I run mysql in unmanaged containers. Please consider supporting mounting of a secret in containers started using docker run.

1 Like

Enabling simple containers (docker run) to use secrets is a great enhancement which AFAIK (based on other posts) is/was planned. Can anyone tell when will this feature be released?
Currently we are working around this limitation in a not so nice way by creating a service, waiting for it to finish its one time processing and then removing it (service rm).