You probably ought to visit https://open.rocket.chat
At a guess it was probably a DNS Issue looking at this :
Error: getaddrinfo EAI_AGAIN gateway.rocket.chat:443
At a guess your docker networking was awry, or your proxy setup. Those are the two most common issues.