[
https://issues.apache.org/jira/browse/YARN-7723?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16320975#comment-16320975
]
Wangda Tan commented on YARN-7723:
----------------------------------
[~ebadger], thanks for commenting. I'm not sure if this is correct. What I'm
trying to use is {{docker volume ls --format}} instead of {{docker inspect}}.
(We can check if we should use {{docker inspect}} instead.).
The docker version which I hit the issue is docker 1.12, you can see
{{--format}} is missing from docker volume ls.
{code}
[root@host ~]# docker version
Client:
Version: 1.12.6
API version: 1.24
Package version: docker-1.12.6-68.gitec8512b.el7.centos.x86_64
Go version: go1.8.3
Git commit: ec8512b/1.12.6
Built: Mon Dec 11 16:08:42 2017
OS/Arch: linux/amd64
Cannot connect to the Docker daemon. Is the docker daemon running on this host?
[root@host ~]# docker volume ls --help
Usage: docker volume ls [OPTIONS]
List volumes
Aliases:
ls, list
Options:
-f, --filter value Provide filter values (i.e. 'dangling=true') (default [])
--help Print usage
-q, --quiet Only display volume names
{code}
Is there any way to check when --format added to docker volume ls? I couldn't
find the information from docker API doc.
> Avoid using docker volume --format option to compatible to older docker
> releases
> --------------------------------------------------------------------------------
>
> Key: YARN-7723
> URL: https://issues.apache.org/jira/browse/YARN-7723
> Project: Hadoop YARN
> Issue Type: Sub-task
> Reporter: Wangda Tan
> Assignee: Wangda Tan
> Attachments: YARN-7723.001.patch
>
>
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]