Skip to content

Add method to get more info about container status - #2521

Merged
dnephin merged 1 commit into
docker:masterfrom
jeanpralo:master
Dec 15, 2015
Merged

dnephin merged 1 commit into
docker:masterfrom
jeanpralo:master

Conversation

@jeanpralo

Copy link
Copy Markdown

Signed-off-by: Jean Praloran [email protected]

Comment thread compose/container.py Outdated

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this actually used anywhere? I don't think there's much point adding it if not.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

well I am not using it directly inside docker-compose, I figured this could be helpfull for people like me who import compose directly into their python code.

So I don't really mind if it does not make it through.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK - that makes sense, but as we're not prioritising that use case right now, I'd rather not add it.

@aanand

aanand commented Dec 9, 2015

Copy link
Copy Markdown

I like the change to human_readable_state so that we can see when a container's restarting. Just one comment inline.

@jeanpralo

Copy link
Copy Markdown
Author

Yeah will really like to see this merged since right now a container that keeps on restarting if it has a restart flag set to always will say it's up.

@dnephin dnephin added this to the 1.6.0 milestone Dec 9, 2015
@jeanpralo

Copy link
Copy Markdown
Author

@dnephin i have removed the status method :)

@dnephin

dnephin commented Dec 14, 2015

Copy link
Copy Markdown

LGTM

@aanand

aanand commented Dec 15, 2015

Copy link
Copy Markdown

Needs squashing to one commit, then LGTM

@jeanpralo

Copy link
Copy Markdown
Author

@aanand done :)

dnephin added a commit that referenced this pull request Dec 15, 2015
Add method to get more info about container status
@dnephin
dnephin merged commit 5b32d32 into docker:master Dec 15, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants