Skip to content

Unable to start 18beta2 with mounted volume #1353

@cloud303-pdavis

Description

@cloud303-pdavis

I'm trying to use the 18beta2 tagged images, but they will not start up with a mounted volume:

docker run -v $(mktemp -d):/var/lib/postgresql/data -e POSTGRES_PASSWORD=test postgres:18beta2

This yields the following error (newlines added for readability):

docker: 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 "/tmp/tmp.pmSoeOATor" to rootfs at "/var/lib/postgresql/data":
change mount propagation through procfd: open o_path procfd:
open /var/lib/docker/overlay2/c0d5a32976817b905487f8cd519c8399dcea6c28aad09a189010d9b806b08172/merged/var/lib/postgresql/data:
no such file or directory

I see a similar error when trying to run in k8s as well. Using any of the version 17 images works just fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions