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

docker

package module
v1.2.20 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2024 License: MIT Imports: 6 Imported by: 0

README

Docker - Simply Docker SDK

PkgGoDev Build Status Go Report Card Coverage Status GitHub issues Release

Installation

To install the package, run:

go get -u github.com/go-zoox/docker

Quick Start

// see examples

Inspiration

  • Go httputil.Reversedocker

License

GoZoox is released under the MIT License.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Version = "1.2.20"

Version is the version of this package.

Functions

This section is empty.

Types

type Config added in v1.2.6

type Config struct {
	// Docker Host
	Server string `json:"server"`
}

Config ...

type Docker

type Docker interface {
	Info() info.Info

	Container() container.Container
	Image() image.Image
	Network() network.Network
	Volume() volume.Volume
}

Docker is the client of docker

func New

func New(opts ...Option) (d Docker, err error)

New creates a docker client.

type Option added in v1.2.6

type Option func(cfg *Config)

Option ...

Directories

Path Synopsis
cmd
docker command

Jump to

Keyboard shortcuts

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