If the host running docker doesn't have IP forwarding, then the container won't have access to the outside world.