# Using docker compose "secrets:" mechanism with doppler

**URL:** <https://community.doppler.com/t/using-docker-compose-secrets-mechanism-with-doppler/1982>\
**Category:** Need Help\
**Created:** [May 28, 2026, 2:48am UTC](https://community.doppler.com/t/using-docker-compose-secrets-mechanism-with-doppler/1982 "2026-05-28T02:48:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![vantassell](https://sea2.discourse-cdn.com/flex016/user_avatar/community.doppler.com/vantassell/32/1387_2.png) [@vantassell](https://community.doppler.com/u/vantassell)\
**Post date:** [May 28, 2026, 2:48am UTC](https://community.doppler.com/t/using-docker-compose-secrets-mechanism-with-doppler/1982/1 "2026-05-28T02:48:21Z")

</div>

I’m trying to use doppler to get secrets into my container’s being deployed via docker compose but I’m having some trouble. Docker Compose has a mechanism for secrets that will read from a file and mount them inside a container as a file, but i’m having trouble getting Doppler to work with this Docker feature. I suspect that it’s because Doppler mounts this as a named pipe Docker is not loading the secrets but I don’t know.

Has anyone come across this and found a fix?
