Container can’t pinged by a host which on the same network as the container’s host

  containers, docker, networking, virtualbox
  • The container’s networking is using default bridge pattern, and IP address is, gateway address is
  • The container’s host A is centos8 installed in a virtual box. It address is, and can reachable the
  • Another host B which on the same network as host A. It’s IP address which can reachable the container’s gateway after i added a route " mask mask ".
  • It is unfortunate that the host B can’t pinged the container’s IP

How can I do this.

Thank you for taking the time to answer this question.

Source: Docker Questions