{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/12904","labels_url":"https://api.github.com/repos/docker/docker/issues/12904/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/12904/comments","events_url":"https://api.github.com/repos/docker/docker/issues/12904/events","html_url":"https://github.com/docker/docker/issues/12904","id":72189318,"number":12904,"title":"Error pushing to registry while following the documentation guide","user":{"login":"agonzalezro","id":205176,"avatar_url":"https://avatars.githubusercontent.com/u/205176?v=3","gravatar_id":"","url":"https://api.github.com/users/agonzalezro","html_url":"https://github.com/agonzalezro","followers_url":"https://api.github.com/users/agonzalezro/followers","following_url":"https://api.github.com/users/agonzalezro/following{/other_user}","gists_url":"https://api.github.com/users/agonzalezro/gists{/gist_id}","starred_url":"https://api.github.com/users/agonzalezro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agonzalezro/subscriptions","organizations_url":"https://api.github.com/users/agonzalezro/orgs","repos_url":"https://api.github.com/users/agonzalezro/repos","events_url":"https://api.github.com/users/agonzalezro/events{/privacy}","received_events_url":"https://api.github.com/users/agonzalezro/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-30T15:09:21Z","updated_at":"2015-04-30T15:09:21Z","closed_at":null,"body":"Hi,\r\n\r\nI am following this [guide to setup a local registry](https://docs.docker.com/registry/deploying/).\r\n\r\nOn the step to push the image I am getting the following error:\r\n\r\n```\r\n$ docker push localhost:5000/hello-mine:latest\r\na8219747be10: Image push failed\r\nFATA[0000] Error pushing to registry: mux: variable \"hello-mine\" doesn't match, expected \"^(?:[a-z0-9]+(?:[._-][a-z0-9]+)*/){1,4}[a-z0-9]+(?:[._-][a-z0-9]+)*$\"\r\n```\r\n\r\nI think that I have followed the previous steps properly:\r\n\r\n```\r\n$ docker ps|grep regis\r\n92ccd2969bc2        registry:2.0        \"registry cmd/regist   16 minutes ago      Up 16 minutes       0.0.0.0:5000->5000/tcp     jolly_heisenberg\r\n```\r\n\r\n&\r\n\r\n```\r\n$ docker images|grep hello\r\nhello-world                         latest               91c95931e552        12 days ago         910 B\r\nlocalhost:5000/hello-mine           latest               91c95931e552        12 days ago         910 B\r\n```"},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/97830838","html_url":"https://github.com/docker/docker/issues/12904#issuecomment-97830838","issue_url":"https://api.github.com/repos/docker/docker/issues/12904","id":97830838,"user":{"login":"GordonTheTurtle","id":10620046,"avatar_url":"https://avatars.githubusercontent.com/u/10620046?v=3","gravatar_id":"","url":"https://api.github.com/users/GordonTheTurtle","html_url":"https://github.com/GordonTheTurtle","followers_url":"https://api.github.com/users/GordonTheTurtle/followers","following_url":"https://api.github.com/users/GordonTheTurtle/following{/other_user}","gists_url":"https://api.github.com/users/GordonTheTurtle/gists{/gist_id}","starred_url":"https://api.github.com/users/GordonTheTurtle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GordonTheTurtle/subscriptions","organizations_url":"https://api.github.com/users/GordonTheTurtle/orgs","repos_url":"https://api.github.com/users/GordonTheTurtle/repos","events_url":"https://api.github.com/users/GordonTheTurtle/events{/privacy}","received_events_url":"https://api.github.com/users/GordonTheTurtle/received_events","type":"User","site_admin":false},"created_at":"2015-04-30T15:09:21Z","updated_at":"2015-04-30T15:09:21Z","body":"Hi!\nIf you are reporting a new issue (that does not have any duplicates already open) we would like to take this time to remind you of the information we need to debug the problem you are seeing. This is an automated response so if this ticket is _not_ about a bug, do not fret.\nPlease see:\nhttps://github.com/docker/docker/blob/master/CONTRIBUTING.md#reporting-other-issues\n~~~console\nDescription of problem:\n\n\n`docker version`:\n\n\n`docker info`:\n\n\n`uname -a`:\n\n\nEnvironment details (AWS, VirtualBox, physical, etc.):\n\n\nHow reproducible:\n\n\nSteps to Reproduce:\n1.\n2.\n3.\n\n\nActual Results:\n\n\nExpected Results:\n\n\nAdditional info:\n\n\n\n~~~\n\n#ENEEDMOREINFO\n"}}