code: func checkNginx(client *sshClient, network string) (*nginxInfos, error) {
  	// Inspect a possible nginx container on the host
  	infos, err := inspectContainer(client, fmt.Sprintf("%s_nginx_1", network))
  	if err != nil {
  		return nil, err
  	}
  	if !infos.running {
  		return nil, ErrServiceOffline
  	}
  	// Container available, assemble and return the useful infos
  	return &nginxInfos{
  		port: infos.portmap["80/tcp"],
  	}, nil
  }
docs: // checkNginx does a health-check against an nginx reverse-proxy to verify whether
  // it's running, and if yes, gathering a collection of useful infos about it.