-
Notifications
You must be signed in to change notification settings - Fork 441
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
Crash when entrypoint inits database and passing init-connect argument with whitespace #574
Comments
So it seems that the Another option would be to not pass the |
Yep, you got it right. The only real POSIX array is '$@' that can be manipulated with I'm still considering your workaround. |
Use this
docker-compose.yaml
and make sure the
database
volume is empty while thesql-backup-load-vol
volume contains abackup.sql.xz
file.Then following error will be produced:
When the database is already init, this error does not occur. I think it is a problem with the entrypoint script, at the point where it tries to init the database and properly handling the whitespace of the
init-connect
argument.The text was updated successfully, but these errors were encountered: