We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
exec gosu redis "$0" "$@" this in docker-entrypoint.sh makes above commands executed twice. such as following when I set -ex in it:
exec gosu redis "$0" "$@"
root@ubuntu:~/Desktop/redis/3.2/alpine# docker run -it --rm redis-orig + [ redis-server != redis-server ] + [ redis-server != redis-server ] + id -u + [ redis-server = redis-server -a 0 = 0 ] + chown -R redis . + exec su-exec redis /usr/local/bin/docker-entrypoint.sh redis-server + [ redis-server != redis-server ] + [ redis-server != redis-server ] + id -u + [ redis-server = redis-server -a 100 = 0 ] + exec redis-server
What's the purpose of this? why not just exec gosu redis "$@"
exec gosu redis "$@"
The text was updated successfully, but these errors were encountered:
It looks like it was just in case we were going to do more "work" after and to follow the pattern of other images, like rabbitmq.
Sorry, something went wrong.
No branches or pull requests
exec gosu redis "$0" "$@"
this in docker-entrypoint.sh makes above commands executed twice. such as following when I set -ex in it:
What's the purpose of this? why not just
exec gosu redis "$@"
The text was updated successfully, but these errors were encountered: