# Bind mount external volume path instead of /srv in docker for PMM data

**URL:** <https://forums.percona.com/t/bind-mount-external-volume-path-instead-of-srv-in-docker-for-pmm-data/13874>\
**Category:** PMM 2.x\
**Created:** [January 11, 2022, 8:15pm UTC](https://forums.percona.com/t/bind-mount-external-volume-path-instead-of-srv-in-docker-for-pmm-data/13874 "2022-01-11T20:15:34Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![sgales](https://avatars.discourse-cdn.com/v4/letter/s/eada6e/32.png) [@sgales](https://forums.percona.com/u/sgales)\
**Post date:** [February 1, 2022, 10:03pm UTC](https://forums.percona.com/t/bind-mount-external-volume-path-instead-of-srv-in-docker-for-pmm-data/13874/9 "2022-02-01T22:03:50Z")

</div>

Just curious here, when I try to bind mount the percona image I found my /srv folder is empty.

If I run:  
`docker run -v /mnt/myhostmount:/srv -p 443:443 percona/pmm-server:2`

I get an empty dir where mnt/myhostmount has nothing and of course since there’s no config, nothing works. I will mention that I have taken the image and further added a few things to it to customize it for my own use, but haven’t really done anything beyond copying a few other files/scripts that I needed for some things.

To summarize my changes, most of them are just running yum updates so I don’t have old packages and then adding a few scripts. I tried:  
VOLUME /srv  
but either way this just gives me an empty volume at /mnt/myhostmount

---

_[View the full topic](https://forums.percona.com/t/bind-mount-external-volume-path-instead-of-srv-in-docker-for-pmm-data/13874)._
