How to ping docker container from VM on the same host? How to ping docker container from VM on the same host? docker docker

How to ping docker container from VM on the same host?


it is not possible directly because docker creates its bridge "bridge0" all the traffic is been routed using nat, where as virtualbox also creates its own bridge/interface , because of which its not able to access. But you can access by exposing port.above mention requirement is possible with consul service discovery and host n/w config modification