Skip to Main Content
Status Delivered
Workspace * IBM Cloud Ideas
Categories Containers
Created by Guest
Created on Aug 23, 2016

Document external networking delay when starting a container

See the post at Stack Overflow
http://stackoverflow.com/questions/30310602/docker-container-cant-leverage-external-cloudant-service-network-resolution

It should state in the documentation that it is necessary to write start scripts with delay if accessing external network. 1 second seems to be enough for me.

  • ADMIN RESPONSE
    Aug 23, 2016
    This will be addressed in a futurhttps://www.ng.bluemix.net/docs/containers/container_single_ov.html#container_single_cli and search on "If you are connecting to an external app from the container " it will show the following: If you are connecting to an external app from the container, there is approximately a 30-second wait after running the container process before it can connect to the specified IP address. Then, you can verify that the app is functioning in the container by running:   nc -zv <public_IP><public_port>. e release.