Ping Gateway instead of Docker Container directly

By pinging the Gateway instead of the Container directly
we should in theory support remote Docker Serverss without any hickups.