errors.go 581 B

1234567891011121314151617
  1. package container // import "github.com/docker/docker/daemon/cluster/executor/container"
  2. import (
  3. "errors"
  4. )
  5. var (
  6. // ErrImageRequired returned if a task is missing the image definition.
  7. ErrImageRequired = errors.New("dockerexec: image required")
  8. // ErrContainerDestroyed returned when a container is prematurely destroyed
  9. // during a wait call.
  10. ErrContainerDestroyed = errors.New("dockerexec: container destroyed")
  11. // ErrContainerUnhealthy returned if controller detects the health check failure
  12. ErrContainerUnhealthy = errors.New("dockerexec: unhealthy container")
  13. )