# Determining the correct Discourse docker path for the current install?

**URL:** https://meta.discourse.org/t/determining-the-correct-discourse-docker-path-for-the-current-install/147454
**Category:** Self-hosting
**Created:** [9 april 2020 om 19:07 UTC](https://meta.discourse.org/t/determining-the-correct-discourse-docker-path-for-the-current-install/147454 "2020-04-09T19:07:56Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![007](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/007/32/175794_2.png) [@007](https://meta.discourse.org/u/007)
#### Post date: [9 april 2020 om 19:07 UTC](https://meta.discourse.org/t/determining-the-correct-discourse-docker-path-for-the-current-install/147454/1 "2020-04-09T19:07:56Z")

</div>

I’m working on setting up a dev site and I noticed that as I’ve trialed and errored through this, I managed to have the files duplicated four times within the /var/lib/docker/overlay2/ path.

Within here, I have four different paths that each look like this:

`/LONGPATHOFLETTERSANDNUMBERS/diff/var/www/discourse/`

How can I determine which one of these is the active install and how would I go about removing the others?

I need to edit an import script file within the live one.

Thanks!

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [9 april 2020 om 19:10 UTC](https://meta.discourse.org/t/determining-the-correct-discourse-docker-path-for-the-current-install/147454/2 "2020-04-09T19:10:12Z")

</div>

You can remove everything not currently running in Docker with `docker system prune -a`.

---

<div class="post-metadata">

### Author: ![007](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/007/32/175794_2.png) [@007](https://meta.discourse.org/u/007)
#### Post date: [9 april 2020 om 19:14 UTC](https://meta.discourse.org/t/determining-the-correct-discourse-docker-path-for-the-current-install/147454/3 "2020-04-09T19:14:15Z")

</div>

> [@Falco](#):
>
> docker system prune -a

Thanks! That removed one of the four. Now I’m curious, is there any way the other three could all be running? Two of them are /diff/var/www/discourse/ and the third is /merged/var/www/discourse/.

I only have one live site right now. I haven’t gone through the setup yet (because I’m doing a database import still) but the page loads properly and I can register.
