fixing network issues for debian and ubuntu containers.
fixes #1