I’m trying to follow the guide here https://join-lemmy.org/docs/administration/install_docker.html
I get an error when I run docker compose up -d. It happens after docker outputs ⠹ Container lemmy-postgres-1 Starting
Error response from daemon: failed to create task for container: failed to create shim task: OCI
runtime create failed: runc create failed: unable to start container process: error during container
init: error mounting "/home/user/lemmy/volumes/postgres" to rootfs at "/var/lib/postgresql/data":
change mount propagation through procfd: open o_path procfd: open /var/lib/docker/
overlay2/238f1ac3ed9eac5f9c1fdc9ee1851634765c83da087baccc4dfbf4fcc4316b32/merged/
var/lib/postgresql/data: no such file or directory: unknown
I’m not really sure what this means, and trying all of AIs suggestions didn’t fix it.
I’m kinda new to all of this, so any help would be appreciated.


I don’t have capacity to go all the way but it seems you’ve got a problem with creating the volume
This looks similar and was configuration error: https://stackoverflow.com/questions/73279935/error-while-mounting-volume-mount-through-procfd-not-a-directory-unknown