这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@michaelshobbs
Copy link
Member

docker 1.10.x changed the format of docker ps -a; which we should rely on anyway. This change uses docker inspect output instead. All other instances of docker ps ...| egrep ... are simplistic enough for now.

@michaelshobbs
Copy link
Member Author

This is also backwards compatible with docker 1.9.x

@josegonzalez
Copy link
Member

Why not just always use docker inspect? Hopefully they break that interface less often...

@michaelshobbs
Copy link
Member Author

Sometimes we just want running containers. docker ps gives us that.

josegonzalez added a commit that referenced this pull request Feb 22, 2016
fix get_running_image_tag() with docker 1.10.x
@josegonzalez josegonzalez merged commit 42f2f6b into master Feb 22, 2016
@josegonzalez josegonzalez deleted the mh-docker-ps-output-cleanup branch February 22, 2016 19:12
@josegonzalez josegonzalez changed the title fix get_running_image_tag() with docker 1.10.x Fix get_running_image_tag() with docker 1.10.x Mar 26, 2016
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.

3 participants