method to register the container network created