docker: initial code for isReachable.

related with #537.