Docker Community Forums

Share and learn in the Docker community.

Initial connection to container take ~5 seconds

I have the strange problem that my inital connection to a few of my containers takes ca. 5 seconds. I have a bungeecord container running and every initial connection, even a ping, takes 5 seconds until it reaches the container. But after connecting to this container the connection is blazing fast.

I started an nginx container for reference and a connection to this container is almost instant.

Do you have any tips on how I can solve this problem?