|
|
@@ -20,17 +20,6 @@ import (
|
|
|
"io"
|
|
|
|
|
|
moby "github.com/docker/docker/api/types"
|
|
|
- "github.com/docker/docker/api/types/container"
|
|
|
-)
|
|
|
-
|
|
|
-const (
|
|
|
- ContainerCreated = container.StateCreated // StateCreated indicates the container is created, but not (yet) started.
|
|
|
- ContainerRunning = container.StateRunning // StateRunning indicates that the container is running.
|
|
|
- ContainerPaused = container.StatePaused // StatePaused indicates that the container's current state is paused.
|
|
|
- ContainerRestarting = container.StateRestarting // StateRestarting indicates that the container is currently restarting.
|
|
|
- ContainerRemoving = container.StateRemoving // StateRemoving indicates that the container is being removed.
|
|
|
- ContainerExited = container.StateExited // StateExited indicates that the container exited.
|
|
|
- ContainerDead = container.StateDead // StateDead indicates that the container failed to be deleted. Containers in this state are attempted to be cleaned up when the daemon restarts.
|
|
|
)
|
|
|
|
|
|
var _ io.ReadCloser = ContainerStdout{}
|