Check inside your laravel container's
etc/hosts
and inspect the hosts inside of it
Otherwise, I think the problem might be related to the networks