diff --git a/pkg/compose/container.go b/pkg/compose/container.go index a1f938ab5..502547ddc 100644 --- a/pkg/compose/container.go +++ b/pkg/compose/container.go @@ -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{}