import "github.com/docker/docker/daemon/exec"
type Config struct { sync.Mutex Started chan struct{} StreamConfig *stream.Config ID string Running bool ExitCode *int OpenStdin bool OpenStderr bool OpenStdout bool CanRemove bool ContainerID string DetachKeys []byte Entrypoint string Args []string Tty bool Privileged bool User string WorkingDir string Env []string Pid int }
Config holds the configurations for execs. The Daemon keeps track of both running and finished execs so that they can be examined both during and after completion.
NewConfig initializes the a new exec configuration
CloseStreams closes the stdio streams for the exec
InitializeStdio is called by libcontainerd to connect the stdio.
SetExitCode sets the exec config's exit code
Store keeps track of the exec configurations.
NewStore initializes a new exec store.
Add adds a new exec configuration to the store.
Commands returns the exec configurations in the store.
Delete removes an exec configuration from the store.
Get returns an exec configuration by its id.
List returns the list of exec ids in the store.
Package exec imports 7 packages (graph) and is imported by 838 packages. Updated 2019-07-25. Refresh now. Tools for package owners.