How can I use read-only mode while using p3x-redis by docker?
Closed this issue ยท 8 comments
Hello,
I am using p3x-redis with docker.
I found that -r option is for read-only mode,
but when I start p3x-redis container with -r option, I can find settings menu in the top sight of page.
Also, I can delete the keys while connecting my redis cluster.
In the dockerfile, this is my CMD words.
CMD ["/bin/sh" "-c" "p3x-redis -r"]
either, I tried to use -r option when I call the docker run
docker run ~~~~ p3x-redis -r
Please help me how can I use -r option when using p3x-redis with docker.
CMD ["p3x-redis", "-r"]
Absolutely,
my final docker image CMD was ["p3x-redis", "-r"]
but this doesn't worked.
Is there other solution for me?
please debug, i do not use the docker version, but it is just an argument, it should work...
ok, i found an error, i create a new deploy. you can test when i tell you
CMD ["p3x-redis", "-r"] will work... it is building right now...
CMD ["p3x-redis", "-r"] will work... it is building right now...
I will re-build and then tell the result.
Thank you for your help!
ok built, it should work now.
this should work as well:
docker run p3x-redis-ui:latest p3x-redis -r