Feature and motivation
If the docker proxy settings on the host machine include localhost, there might be an issue with the "Base/check-grid.sh" check. This can be avoided by adding "--no proxy '*'" to the curl request line. In this case, the curl request will never go outside the docker container.
Usage example
curl -skSL --noproxy '*' -H "Authorization: Basic ${BASIC_AUTH}" ${SE_SERVER_PROTOCOL:-"http"}://${HOST}:${PORT}/wd/hub/status | jq -r '.value.ready' | grep -q "true" || exit 1