github.com/ssube/gitlab-ci-multi-runner@v1.2.1-0.20160607142738-b8d1285632e6/dockerfiles/service/README.md (about)

     1  `gitlab/gitlab-runner:wait` is a really small Docker utility that blocks until another container is accepting TCP connections.
     2  
     3  Use it like this:
     4  
     5      $ docker run -d --name mycontainer some-image-or-other
     6      $ docker run --link mycontainer:mycontainer aanand/wait
     7      waiting for TCP connection to 172.17.0.105:5432......ok
     8  
     9  Just link a single container to it - it doesn't matter what the link alias is.