github.com/olljanat/moby@v1.13.1/daemon/cluster/executor/container/errors.go (about)

     1  package container
     2  
     3  import "fmt"
     4  
     5  var (
     6  	// ErrImageRequired returned if a task is missing the image definition.
     7  	ErrImageRequired = fmt.Errorf("dockerexec: image required")
     8  
     9  	// ErrContainerDestroyed returned when a container is prematurely destroyed
    10  	// during a wait call.
    11  	ErrContainerDestroyed = fmt.Errorf("dockerexec: container destroyed")
    12  
    13  	// ErrContainerUnhealthy returned if controller detects the health check failure
    14  	ErrContainerUnhealthy = fmt.Errorf("dockerexec: unhealthy container")
    15  )