-
Notifications
You must be signed in to change notification settings - Fork 583
Run server with custom config #125
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
Comments
The ownership of the file would be the cause of the problem (or possibly folder permissions, since |
Thank you for the reply @yosifkit.
Where do these ids came from? Why it isn't |
Usernames are an abstraction -- the filesystem deals in raw UIDs, so as far as the kernel is concerned, As for why you're seeing those specific values, I'd imagine it probably has something to do with your Since this isn't really an issue with the image, and is more of a question about usage, I'm going to close. |
Thanks, I will try to investigate further. |
@tianon @yosifkit
This way
In my first message I got error
So, the whole command was interpreted as file name. Now config file was read but I got another error:
P.S. |
Any update on this error? |
@wolfpack94, to what error are you referring? The original issue was that the yaml was wrongly configured. # it was this
command:
- redis-server /usr/local/etc/redis/redis.conf
# when it should've been this
command:
- redis-server
- /usr/local/etc/redis/redis.conf
# or this
command:
- /usr/local/etc/redis/redis.conf |
Make sure to use Changing |
@phpguru has exactly same with my situation.
|
Hello,
I try to run redis server with a custom config via docker compose.
I got the following
docker-compose.yml
file:Unfortunately, I got an error:
However, the file does exist. I can run redis service and see it
$ docker-compose run redis /bin/sh
It is strange to me that user and group is 1000.
Maybe it causes the issue?
Could you please help to figure it out?
The text was updated successfully, but these errors were encountered: