You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Activity
cloud303-pdavis commentedon Jul 25, 2025
For version 18+ the volume is now at
/var/lib/postgresql, I imagine the documentation will update when 18 is released proper?tianon commentedon Jul 25, 2025
See docker-library/docs#2582 for where the documentation was updated. 😅