Error response from daemon: Unexpected status code 404 Error response from daemon: Unexpected status code 404 docker docker

Error response from daemon: Unexpected status code 404


From the logs it seems you try pining different versions of the registry endpoint. Did you use v1Enabled:falseoption on the repository configuration? It seems to get an error during v1 ping but still uses that endpoint. It's rather strange & unexpected behaviour.

enter image description here


I had the same problem. After googling, it looks like 'docker search' uses the V1 API: see Issue https://github.com/docker/distribution/issues/206
So after I have enabled the V1 API on all docker registries of the group corresponding with the port, it works perfectly.


The docker search command use a v1 API. You have 2 alternatives :

  1. Enable v1 API before using docker search
  2. Use a curl like that: curl -X GET localhost:5000/v2/_catalog