{"action":"opened","issue":{"url":"https://api.github.com/repos/docker/hub-feedback/issues/871","repository_url":"https://api.github.com/repos/docker/hub-feedback","labels_url":"https://api.github.com/repos/docker/hub-feedback/issues/871/labels{/name}","comments_url":"https://api.github.com/repos/docker/hub-feedback/issues/871/comments","events_url":"https://api.github.com/repos/docker/hub-feedback/issues/871/events","html_url":"https://github.com/docker/hub-feedback/issues/871","id":190982688,"number":871,"title":"Vague error messaging for Private Repositories when limit is hit/plan downgraded","user":{"login":"chriscapetown","id":2725500,"avatar_url":"https://avatars.githubusercontent.com/u/2725500?v=3","gravatar_id":"","url":"https://api.github.com/users/chriscapetown","html_url":"https://github.com/chriscapetown","followers_url":"https://api.github.com/users/chriscapetown/followers","following_url":"https://api.github.com/users/chriscapetown/following{/other_user}","gists_url":"https://api.github.com/users/chriscapetown/gists{/gist_id}","starred_url":"https://api.github.com/users/chriscapetown/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chriscapetown/subscriptions","organizations_url":"https://api.github.com/users/chriscapetown/orgs","repos_url":"https://api.github.com/users/chriscapetown/repos","events_url":"https://api.github.com/users/chriscapetown/events{/privacy}","received_events_url":"https://api.github.com/users/chriscapetown/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-22T12:08:42Z","updated_at":"2016-11-22T12:08:42Z","closed_at":null,"body":"When I try to do a Docker push, and I have run out of Private Repositories, I get the following message from our CI platform:\r\n\r\n```\r\ndocker push xxxxx/yyyy:$DEPLOY_TAG\r\nThe push refers to a repository [docker.io/xxxxx/yyyy]\r\nunauthorized: authentication required\r\ndocker push xxxxx/yyyy:$DEPLOY_TAG returned exit code 1\r\nAction failed: docker push xxxxx/yyyy:$DEPLOY_TAG\r\n```\r\n\r\nIt's not a authentication problem, because in the step above, the login succeeds.\r\n\r\n```\r\ndocker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS\r\nWARNING: login credentials saved in /home/ubuntu/.docker/config.json\r\nLogin Succeeded\r\n```\r\n\r\nNot the most explanatory error message, took me AGES to figure out that I had run out of repo's. The little notification in the top left \"Private Repositories:Using x of y\" when logged into Docker Hub is quite subtle.\r\n\r\nmanaged to get the same error when one of my other Docker Hub accounts was on the \"Free\" plan for some reason, but private repositories were present.\r\n\r\nAnother thing worth noting is that when I had run out of private repositories and my plan was set to free, I could not delete repo's and it showed another error which mentioned nothing about my usage/plan."}}
{"actor":{"display_login":"chriscapetown"}}