github.com/kaisenlinux/docker@v0.0.0-20230510090727-ea55db55fac7/swarmkit/agent/exec/dockerapi/errors.go (about) 1 package dockerapi 2 3 import "errors" 4 5 var ( 6 // ErrImageRequired returned if a task is missing the image definition. 7 ErrImageRequired = errors.New("dockerexec: image required") 8 9 // ErrContainerDestroyed returned when a container is prematurely destroyed 10 // during a wait call. 11 ErrContainerDestroyed = errors.New("dockerexec: container destroyed") 12 13 // ErrContainerUnhealthy returned if controller detects the health check failure 14 ErrContainerUnhealthy = errors.New("dockerexec: unhealthy container") 15 )