### Context - Just switched to running our Go apps as a static binary in a container based off `sillelien/base-alpine`. - Apps are running in containers on Docker Cloud (Ubuntu 14.04 nodes). ### Problem - When one of our services starts, it attempts to connect to a RDS instance. - This was timing out. ### Solution - Add a 20 second wait before trying to connect. ### Logs ``` ... DNS : Starting monitoring loop dial tcp xx.xx.xx.x:xxxx: getsockopt: connection timed out /data-api exited 1 ```
Context
sillelien/base-alpine.Problem
Solution
Logs