Use --network=host in the docker run command. This tells Docker to make the container use the host’s network stack. You can learn more here.
Use --network=host in the docker run command. This tells Docker to make the container use the host’s network stack. You can learn more here.