Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

postgresql read-only file system #125

Open
bestlzk opened this issue Apr 22, 2023 · 0 comments
Open

postgresql read-only file system #125

bestlzk opened this issue Apr 22, 2023 · 0 comments

Comments

@bestlzk
Copy link

bestlzk commented Apr 22, 2023

When I use the default docker-compose.yml, I get error like this.

2023-04-22 07:58:28.899 UTC [1] FATAL: could not create lock file "/var/run/postgresql/.s.PGSQL.5432.lock": Read-only file system 2023-04-22 07:58:28.900 UTC [1] LOG: database system is shut down

I modify docker-compose.yml, replace - /var/run/postgresql by - /run/postgresql, and it works.

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

No branches or pull requests

1 participant