docker

package
v2.16.4 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2019 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FileName  = "Dockerfile"
	Socket    = "/var/run/docker.sock"
	SocketURL = "unix://" + Socket
)

Variables

This section is empty.

Functions

func Installed

func Installed() bool

func RunAndWait

func RunAndWait(cli *Client, stdout, stderr io.Writer, opt CreateContainerOptions) error

Types

type AttachToContainerOptions

type AttachToContainerOptions = docker.AttachToContainerOptions

type BuildImageOptions

type BuildImageOptions = docker.BuildImageOptions

type Client

type Client = docker.Client

func Dial

func Dial() (*Client, error)

type CloseWaiter

type CloseWaiter = docker.CloseWaiter

type Config

type Config = docker.Config

type Container

type Container = docker.Container

func Run

func Run(cli *Client, opt CreateContainerOptions) (*Container, error)

type CreateContainerOptions

type CreateContainerOptions = docker.CreateContainerOptions

type CreateExecOptions

type CreateExecOptions = docker.CreateExecOptions

type HostConfig

type HostConfig = docker.HostConfig

type RemoveContainerOptions

type RemoveContainerOptions = docker.RemoveContainerOptions

type StartExecOptions

type StartExecOptions = docker.StartExecOptions

Jump to

Keyboard shortcuts

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