Skip to content

Getting an error when starting the slave instance #4

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

Closed
Gimly opened this issue Jul 17, 2017 · 0 comments
Closed

Getting an error when starting the slave instance #4

Gimly opened this issue Jul 17, 2017 · 0 comments

Comments

@Gimly
Copy link
Contributor

Gimly commented Jul 17, 2017

When starting the slave instance, I'm getting the following error:

/usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/20-replication.sh
error: failed switching to "postgres": operation not permitted
Gimly added a commit to Gimly/docker-postgres-replication that referenced this issue Jul 17, 2017
Something has changed in recent versions of the postgres image that
breaks the use of gosu (or rather, makes it useless). See
docker-library/postgres#269. It created an
error when the script was creating a slave instnace (see issue nebirhos#4).

Also updated the Dockerfile to use the 9.6 version of the Docker image.
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