Skip to content

Conversation

@dadicarlo
Copy link
Contributor

Removed symbolic link on /var/lib/postgresql/data to retain backwards compatiblity as already done for Debian images in #1372.

This resolves #1393.

@tianon
Copy link
Member

tianon commented Jan 26, 2026

Great catch! Honestly kind of hilarious that we missed it in #1372

This needs to be updated in the templating (as seen in the failing CI); would you be willing to update with that change/fix or do you need us to take over from here?

Removed symbolic link creation for PGDATA in Dockerfile.
@dadicarlo
Copy link
Contributor Author

Ah totally forgot about the template. Fixed that as well. CI should now be passing!

Copy link
Member

@tianon tianon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@tianon tianon merged commit ec0cb67 into docker-library:master Jan 29, 2026
32 checks passed
docker-library-bot added a commit to docker-library-bot/official-images that referenced this pull request Jan 29, 2026
Changes:

- docker-library/postgres@ec0cb67: Remove symlink for PostgreSQL data directory in Alpine images (docker-library/postgres#1394)
tianon pushed a commit to docker-library/official-images that referenced this pull request Jan 29, 2026
Changes:

- docker-library/postgres@ec0cb67: Remove symlink for PostgreSQL data directory in Alpine images (docker-library/postgres#1394)

Co-authored-by: Docker Library Bot <doi+docker-library-bot@docker.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Using v18 Alpine image with CloudNativePG gives error mounting pvc to rootfs at "/var/lib/postgresql/data"

2 participants