Registry / cloud / docker-go

docker-go

JSON →
library1.5.1-1gogounverified

A Go client library for interacting with the Docker Engine API.

go get github.com/docker/go
INSTALL
IMPORT
SIG · DOCKER-GO
D
docker-go
cloudgov1.5.1-1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

docker
✓ github.com/docker/go

Creates a Docker client connected to the local socket.

package main import ( "fmt" "github.com/docker/go" ) func main() { client, err := docker.NewClient("unix:///var/run/docker.sock") if err != nil { fmt.Println(err) return } fmt.Println(client) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.5.1-1latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
18 hits · last 30 days
node
18
Resources
docker-go — go get docker-go · libregistry