docker

package
v0.11.8 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package docker provides utility functions for interfacing with Docker.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Command

func Command(context context.Context, args ...string) (*exec.Cmd, error)

Command prepares (but does not start) a Docker command with the specified arguments and scoped to lifetime of the provided context.

func CommandPath

func CommandPath() (string, error)

CommandPath returns the absolute path specification to use for invoking Docker. It will use the MUTAGEN_DOCKER_PATH environment variable if provided, otherwise falling back to a platform-specific implementation.

Types

This section is empty.

Jump to

Keyboard shortcuts

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