docker/docker.go
func (s *Docker) HasBin() bool {
	_, err := exec.LookPath(s.binCmd)
	return err == nil
}
func (s *Docker) HasBin() bool {
	_, err := exec.LookPath(s.binCmd)
	return err == nil
}
func ( s * Docker ) HasBin ( ) bool { _ , err := exec . LookPath ( s . binCmd ) return err == nil }
// HasBin check whether Docker binary is available.
HasBin check whether Docker binary is available .