# Moving docker volumes

**URL:** https://meta.discourse.org/t/moving-docker-volumes/256942
**Category:** Self-hosting
**Created:** [March 3, 2023, 11:59am UTC](https://meta.discourse.org/t/moving-docker-volumes/256942 "2023-03-03T11:59:43Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Blechpirat](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/blechpirat/32/221370_2.png) [@Blechpirat](https://meta.discourse.org/u/Blechpirat)
#### Post date: [March 3, 2023, 11:59am UTC](https://meta.discourse.org/t/moving-docker-volumes/256942/1 "2023-03-03T11:59:43Z")

</div>

I have severals services running in dockers on the server that also hosts my discourse. My drive was getting a bit small, so I added a disk, stopped the docker service and added

```plaintext
"data-root": "/srv/new-drive/new-docker-root"

```

to my daemon.json

and did

```plaintext
$> sudo systemctl daemon-reload
$> sudo service docker start

```

the other services came back online as expected, only discourse showed my a 502.

Do I need to change something in app.yml?

---

<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: [March 3, 2023, 7:41pm UTC](https://meta.discourse.org/t/moving-docker-volumes/256942/2 "2023-03-03T19:41:07Z")

</div>

Volume mounts are defined in the app.yml indeed.

---

<div class="post-metadata">

### Author: ![Blechpirat](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/blechpirat/32/221370_2.png) [@Blechpirat](https://meta.discourse.org/u/Blechpirat)
#### Post date: [March 4, 2023, 12:04pm UTC](https://meta.discourse.org/t/moving-docker-volumes/256942/3 "2023-03-04T12:04:54Z")

</div>

Yeah, and I used the default place, so they were not moved at all.

The problem seems something [else](https://meta.discourse.org/t/rm-cannot-remove-var-run-postgresql-directory-not-empty/257046) - I’ll close this topic.

---

<div class="post-metadata">

### Author: ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)
#### Post date: [March 4, 2023, 6:04pm UTC](https://meta.discourse.org/t/moving-docker-volumes/256942/4 "2023-03-04T18:04:01Z")

</div>


