providers/docker: implement port checker for remote machine