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.

  • revoirwinery@ttrpg.networkOP
    link
    fedilink
    English
    arrow-up
    8
    ·
    13 hours ago

    Yes, it looks like the supplied docker-compose.yml points to pgautoupgrade/pgautoupgrade:18-alpine for the postgres image.