You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Timothy Chen (JIRA)" <ji...@apache.org> on 2015/02/17 18:54:13 UTC

[jira] [Commented] (MESOS-2357) Improve docker ps output parsing

    [ https://issues.apache.org/jira/browse/MESOS-2357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14324556#comment-14324556 ] 

Timothy Chen commented on MESOS-2357:
-------------------------------------

Hi Henning, this seems super useful.
I also have a docker ps related issue that I'm going to fix, what's your ETA on this? Don't want to be fighting around the same lines of code.

> Improve docker ps output parsing
> --------------------------------
>
>                 Key: MESOS-2357
>                 URL: https://issues.apache.org/jira/browse/MESOS-2357
>             Project: Mesos
>          Issue Type: Improvement
>          Components: docker
>    Affects Versions: 0.20.1, 0.21.1
>            Reporter: Henning Schmiedehausen
>            Priority: Minor
>
> The current code in src/docker/docker.cpp to parse the output of docker ps works by pure chance and the fact that the required field happen to be the last field in the output.
> When the docker ps output changes and more columns are added (which will happen at some point), the parser breaks. We used an inhouse version of docker that had additional columns added and it broke. 
> We want to contribute back our changes to docker.cpp that fix the parsing issues (and parse the docker ps output correctly).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)