# Hosting Elastic Maps Service Locally with 7.12

**URL:** <https://discuss.elastic.co/t/hosting-elastic-maps-service-locally-with-7-12/270401>\
**Category:** Kibana\
**Tags:** maps\
**Created:** [April 16, 2021, 3:56pm UTC](https://discuss.elastic.co/t/hosting-elastic-maps-service-locally-with-7-12/270401 "2021-04-16T15:56:55Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![nickpeihl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nickpeihl/32/112622_2.png) [@nickpeihl](https://discuss.elastic.co/u/nickpeihl)\
**Post date:** [April 29, 2021, 8:30pm UTC](https://discuss.elastic.co/t/hosting-elastic-maps-service-locally-with-7-12/270401/8 "2021-04-29T20:30:07Z")

</div>

Hi Chris,

Sounds like the database directory is not mounting correctly. Maybe try listing the contents of the `/usr/src/app/data` directory from the container? At the end of your `docker run` command add `/bin/bash -c "ls -lh /usr/src/app/data"`.

For example

```auto
docker run --rm --name elastic-maps-server -it \
   --hostname elastic-maps-server \
   -p 8080:8080 \
   -v "${PWD}/elastic-maps-server.yml:/usr/src/app/server/config/elastic-maps-server.yml" \
   -v "${PWD}/data:/usr/src/app/data" \
   -v "${PWD}/log:/var/log/elastic-maps-server" \
docker.elastic.co/elastic-maps-service/elastic-maps-server-ubi8:7.12.1 /bin/bash -c "ls -lh /usr/src/app/data"

```

It should show the `planet.mbtiles` file in the listing similar to

```auto
total 83G
-rw-r--r-- 1 node node 83G Apr 7 16:59 planet.mbtiles

```

---

_[View the full topic](https://discuss.elastic.co/t/hosting-elastic-maps-service-locally-with-7-12/270401)._
