Skip to content

Docker container startup / shutdown #563

Answered by lukebakken
plummyp asked this question in Q&A
Discussion options

You must be logged in to vote

@plummyp my colleague @essen figured it out pretty quickly. When you use host networking mode, the containers will be using your host's DNS resolution service. If the rabbitmq hostname does NOT resolve in DNS, you will experience this slow startup.

I fixed the issue in my test environment by adding the following line to /etc/hosts in the host OS:

127.0.0.1        rabbitmq

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
3 replies
@plummyp
Comment options

@plummyp
Comment options

@lukebakken
Comment options

Comment options

You must be logged in to vote
1 reply
@plummyp
Comment options

Answer selected by plummyp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #562 on June 13, 2022 17:09.