Skip to content

Instantly share code, notes, and snippets.

@shamrin
Last active December 26, 2015 22:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shamrin/7224865 to your computer and use it in GitHub Desktop.
Save shamrin/7224865 to your computer and use it in GitHub Desktop.

I've deployed private Docker registry under reverse proxying nginx (with basic auth). But pushing to it doesn't work:

$ docker push my-server.com/repo
2013/10/29 23:58:08 Invalid Registry endpoint: This does not look like a Registry server ("X-Docker-Registry-Version" header not found in the response)

Testing the server with curl:

$ curl -i --user me:password my-server.com | grep X-Docker
X-Docker-Registry-Version: 0.6.2
X-Docker-Registry-Config: dev

Docker version:

$ docker version
Client version: 0.6.4
Go version (client): go1.1.2
Git commit (client): 2f74b1c
Server version: 0.6.4
Git commit (server): 2f74b1c
Go version (server): go1.1.2
Last stable version: 0.6.4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment