summaryrefslogtreecommitdiff
path: root/daemon/cluster/executor/container/errors.go
blob: 4c90b9e0a27fe2f48e0ccf7593a76907086d28ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package container // import "github.com/docker/docker/daemon/cluster/executor/container"

import (
	"errors"
)

var (
	// ErrImageRequired returned if a task is missing the image definition.
	ErrImageRequired = errors.New("dockerexec: image required")

	// ErrContainerDestroyed returned when a container is prematurely destroyed
	// during a wait call.
	ErrContainerDestroyed = errors.New("dockerexec: container destroyed")

	// ErrContainerUnhealthy returned if controller detects the health check failure
	ErrContainerUnhealthy = errors.New("dockerexec: unhealthy container")
)