package container
import "github.com/docker/docker/daemon/cluster/executor/container"
Index ¶
Variables ¶
var ( // ErrImageRequired returned if a task is missing the image definition. ErrImageRequired = fmt.Errorf("dockerexec: image required") // ErrContainerDestroyed returned when a container is prematurely destroyed // during a wait call. ErrContainerDestroyed = fmt.Errorf("dockerexec: container destroyed") // ErrContainerUnhealthy returned if controller detects the health check failure ErrContainerUnhealthy = fmt.Errorf("dockerexec: unhealthy container") )
Functions ¶
func NewExecutor ¶
func NewExecutor(b executorpkg.Backend) exec.Executor
NewExecutor returns an executor from the docker client.
Source Files ¶
adapter.go container.go controller.go errors.go executor.go validate.go
- Version
- v1.12.2
- Published
- Oct 11, 2016
- Platform
- js/wasm
- Imports
- 30 packages
- Last checked
- 20 minutes ago –
Tools for package owners.