docker

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Port = 2376
)

Variables

This section is empty.

Functions

func AddUser

func AddUser(user string) error

func CheckRunning

func CheckRunning() error

func Configure

func Configure(config *Config) error

func Install

func Install() error

func Provision

func Provision(config *Config) error

func Restart

func Restart() error

Types

type Config

type Config struct {
	CA          []byte
	ServerCert  []byte
	ServerKey   []byte
	Environment []string
	Arguments   []string
	User        string
}

type OptionsContext

type OptionsContext struct {
	DockerdBinary string
	DockerPort    int
	StorageDriver string
	CACert        string
	ServerCert    string
	ServerKey     string
	Environment   []string
	DockerArgs    []string
}

Jump to

Keyboard shortcuts

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