code: func NewSwarm(t *testing.T, testEnv *environment.Execution, ops ...func(*daemon.Daemon)) *daemon.Daemon {
  	t.Helper()
  	skip.If(t, testEnv.IsRemoteDaemon)
  	skip.If(t, testEnv.DaemonInfo.OSType == "windows")
  	if testEnv.DaemonInfo.ExperimentalBuild {
  		ops = append(ops, daemon.WithExperimental)
  	}
  	d := daemon.New(t, ops...)
  	d.StartAndSwarmInit(t)
  	return d
  }
docs: // NewSwarm creates a swarm daemon for testing