title: Can not ping docker in macOS
body: <p>I have docker installed on my local but I can not ping it in Mac but I can ping on Ubuntu for same thing.</p>
  
  <pre><code>$ docker inspect -f '{{ .NetworkSettings.IPAddress }}' n1
  172.17.0.2
  
  $ ping 172.17.0.2
  PING 172.17.0.2 (172.17.0.2): 56 data bytes
  Request timeout for icmp_seq 0
  Request timeout for icmp_seq 1
  Request timeout for icmp_seq 2
  Request timeout for icmp_seq 3
  Request timeout for icmp_seq 4
  Request timeout for icmp_seq 5
  ^C
  --- 172.17.0.2 ping statistics ---
  7 packets transmitted, 0 packets received, 100.0% packet loss
  </code></pre>
  
  <p>I installed docker on mac following <a href="https://docs.docker.com/docker-for-mac/" rel="nofollow noreferrer">https://docs.docker.com/docker-for-mac/</a></p>