Cli: Bash autocompletion works incorrect with inspect

Created on 8 Sep 2017  路  3Comments  路  Source: docker/cli

Description

When I try to inspect the image and hint for image tags, the completion duplicates image name

Steps to reproduce the issue:

  1. pull any image, e.g. docker pull debian
  2. type docker inspect debian:
  3. press TAB

Describe the results you received:
user@localhost:~$ docker inspect debian:debian:latest

Describe the results you expected:
user@localhost:~$ docker inspect debian:latest

Output of docker version:

Docker version 17.07.0-ce, build 8784753
kinbug

All 3 comments

cc @albers

Thanks for reporting. Completion of images needs rework, see also https://github.com/moby/moby/issues/27791.

I'll take care of this in about one month.

@dnephin I still haven't got privileges on this repo, can you please assign this issue to me?

It won't let me assign it to you, I guess it's the same issue

Was this page helpful?
0 / 5 - 0 ratings

Related issues

thaJeztah picture thaJeztah  路  5Comments

johanneswuerbach picture johanneswuerbach  路  4Comments

zopyx picture zopyx  路  4Comments

thaJeztah picture thaJeztah  路  3Comments

kinghuang picture kinghuang  路  4Comments