docker

package module
v1.2.5 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2024 License: MIT Imports: 5 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.5"

Version is the version of this package.

Functions

This section is empty.

Types

type Docker

type Docker interface {
	Container() container.Container
	Image() image.Image
	Network() network.Network
	Volume() volume.Volume
}

Docker is the client of docker

func New

func New(opts ...func(opt *Options)) (d Docker, err error)

New creates a docker client.

type Options added in v1.2.0

type Options struct {
	Client *client.Client
}

Options ...

Jump to

Keyboard shortcuts

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