Help us shape the future of Go! Take the 2026 Go Developer Survey

dockerwsl

package
v1.24.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 19, 2026 License: MPL-2.0 Imports: 23 Imported by: 0

Documentation

Overview

Package dockerwsl provisions and tears down the Docker daemon the Windows E2E runners use: dockerd inside WSL2, reached from the host over SSH.

Setup is a sequence of stages whose progress and owned resources are persisted to a state file after each step. Cleanup reads that file, so it can finish a job whatever stage setup failed in, and it refuses state that names paths outside the job's own fixture directory.

Index

Constants

View Source
const (

	// deadDockerHost is a pipe with no daemon: the provider endpoint must be
	// used, never the process default (issue #1469).
	DeadDockerHost = "npipe:////./pipe/devsy-ci-no-daemon"
)

Variables

This section is empty.

Functions

func DefaultStateFile

func DefaultStateFile(env []string, goos string) string

defaultStateFile is the setup/cleanup state location under RUNNER_TEMP, or empty when RUNNER_TEMP is unset.

func NewCommand

func NewCommand(deps *runenv.Dependencies) *cobra.Command

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL