docker / cli

The Docker CLI
Apache License 2.0
4.85k stars 1.91k forks source link

Unable to search user specific docker images #295

Open viveknangal opened 7 years ago

viveknangal commented 7 years ago

BUG REPORT INFORMATION

I have uploaded images in my dockerhub account but i'm unable to search the images via ""docker search "" command , please suggest is there something wrong i m doing.

Steps to reproduce the issue:

  1. Upload images to docker hub public repo
  2. docker search ""
  3. empty list shown

Describe the results you received: empty result

Describe the results you expected: should give the image publised to public repo in docker hub

Additional information you deem important (e.g. issue happens only occasionally):

Output of docker version:

17.03.1-ce, build c6d412e

Additional environment details (AWS, VirtualBox, physical, etc.):

Runnig docker on MAC
justyntemme commented 6 years ago

Hi there, I tested on a Linux machine and was unable to replicate your issue. Did you happen to mark your repository private? Also, try using docker login

SlavaKatiukha commented 4 years ago

Hi All,

I have the same issue with searching \<hub-user>/\<repo-name>:

$ docker search 'docker/compose'
NAME                DESCRIPTION         STARS               OFFICIAL            AUTOMATED

The search can give more appropriate results when I replacing / character with the space:

$ docker search 'docker compose'
NAME                               DESCRIPTION                                     STARS               OFFICIAL            AUTOMATED
alpine                             A minimal Docker image based on Alpine Linux…   5847                [OK]                
jenkins                            Official Jenkins Docker image                   4522                [OK]                
debian                             Debian is a Linux distribution that's compos…   3280                [OK]                
registry                           The Docker Registry 2.0 implementation for s…   2763                [OK]                
docker                             Docker in Docker!                               1202                [OK]                
hello-world                        Hello World! (an example of minimal Dockeriz…   1076                [OK]                
swarm                              Swarm: a Docker-native clustering system.       1024                [OK]                
fedora                             Official Docker builds of Fedora                830                 [OK]                
composer                           Composer is a dependency manager written in …   478                 [OK]                
composer/composer                  Composer: Dependency Manager for PHP            161                                     [OK]
docker/compose                     Define and run multi-container applications …   109                                     
docker-dev                         Docker is an open source project to pack, sh…   86                  [OK]                
hyperledger/composer-playground    Composer Playground lets you model and test …   37                                      
composer/satis                     Simple static Composer repository generator.    24                                      [OK]
hyperledger/composer-rest-server   The Composer REST server lets you build a RE…   9                                       
graze/composer                     A small Docker image for composer, a depende…   9                                       [OK]
imega/composer                     This is docker image to run the composer.       7                                       [OK]
prooph/composer                    Composer - PHP Dependency Manager with Alpin…   6                                       [OK]
hyperledger/composer-cli           Composer CLI lets you deploy and manage busi…   3                                       
livexp/composer-security           Docker image for Composer Security Advisorie…   2                                       [OK]
saada/composer-asset-plugin        Docker container that has both composer with…   1                                       [OK]
composeus/todastic                 Official build of Todastic (https://github.c…   1                                       [OK]
icedream/composerize               Composerize as a Docker image!                  0                                       [OK]
docker/compose-tests                                                               0                                       
renovate/composer                  Dockerized composer                             0                                       [OK]

The same issue with REST API:

Should I escape the '/' character somehow or it's planned to be fixed?