# Named volumes with docker compose

**URL:** <https://forums.suse.com/t/named-volumes-with-docker-compose/11209>\
**Category:** Rancher 1.x\
**Created:** [July 20, 2018, 10:51pm UTC](https://forums.suse.com/t/named-volumes-with-docker-compose/11209 "2018-07-20T22:51:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mathuin](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/mathuin/32/1391_2.png) [@mathuin](https://forums.suse.com/u/mathuin)\
**Post date:** [July 20, 2018, 10:51pm UTC](https://forums.suse.com/t/named-volumes-with-docker-compose/11209/1 "2018-07-20T22:51:07Z")

</div>

I have a stack built from docker-compose.yml and I would like to use a named volume with a name that is unique to this stack/service/instance combination. I seem to recall there’s some way to do that under the `volumes:` declaration for the volume but I can’t find it in the docs. Help?
