Rabbitmq boot failed when run in docker rootless #631
-
I install my docker environment according to the document Run the Docker daemon as a non-root user (Rootless mode) Then I run a rabbitmq container but the rabbitmq server cannot boot. If I run rabbitmq container in docker with root user and use the same command, it can work. docker info
docker logs rabbitmq:
hosts in container:
docker run command:
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 6 replies
-
Just so you know, RabbitMQ 3.8 is no longer supported. If this issue turns out to be 3.8 or 3.9-specific there will be no fix. I will try this out when I have time to set up a rootless Docker environment. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
After reading how to setup docker in rootless mode, I don't think I'll be doing that because I don't want to screw up my main development environment. @lystormenvoy what is the output of this command within the same container you're trying to start RabbitMQ:
If you don't have If you're interested, this is the code that throws the error: https://github.com/erlang/otp/blob/master/lib/kernel/src/erl_epmd.erl#L149-L156 |
Beta Was this translation helpful? Give feedback.
-
I found that I can't ping in my container. |
Beta Was this translation helpful? Give feedback.
I think I have found that how to resolve, after expose the ports to host then it can work.