Skip to content
This repository has been archived by the owner on Feb 2, 2021. It is now read-only.

Kills 'Created' state containers before they can run #127

Closed
lmickh opened this issue Sep 20, 2016 · 1 comment
Closed

Kills 'Created' state containers before they can run #127

lmickh opened this issue Sep 20, 2016 · 1 comment
Labels

Comments

@lmickh
Copy link

lmickh commented Sep 20, 2016

Description

Because the container state "FinishedAt": "0001-01-01T00:00:00Z" is used for containers that have not exited yet, containers in the Created state are reaped despite the grace period setting. This is an issue for automation systems such as ECS that use the remote api to create and then start a container if docker-gc runs before the container starts.

How to reproduce

  1. Create a container using docker create
  2. Run docker-gc

What do you expect

Not to delete containers in the Created state before they have a chance to run.

@stale
Copy link

stale bot commented Nov 22, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Nov 22, 2018
@stale stale bot closed this as completed Nov 29, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant