{"action":"created","issue":{"url":"https://api.github.com/repos/aws/amazon-ecs-agent/issues/55","labels_url":"https://api.github.com/repos/aws/amazon-ecs-agent/issues/55/labels{/name}","comments_url":"https://api.github.com/repos/aws/amazon-ecs-agent/issues/55/comments","events_url":"https://api.github.com/repos/aws/amazon-ecs-agent/issues/55/events","html_url":"https://github.com/aws/amazon-ecs-agent/issues/55","id":69095428,"number":55,"title":"Won't get image from dockerhub (when using a private repo)","user":{"login":"jeprojects","id":11989601,"avatar_url":"https://avatars.githubusercontent.com/u/11989601?v=3","gravatar_id":"","url":"https://api.github.com/users/jeprojects","html_url":"https://github.com/jeprojects","followers_url":"https://api.github.com/users/jeprojects/followers","following_url":"https://api.github.com/users/jeprojects/following{/other_user}","gists_url":"https://api.github.com/users/jeprojects/gists{/gist_id}","starred_url":"https://api.github.com/users/jeprojects/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeprojects/subscriptions","organizations_url":"https://api.github.com/users/jeprojects/orgs","repos_url":"https://api.github.com/users/jeprojects/repos","events_url":"https://api.github.com/users/jeprojects/events{/privacy}","received_events_url":"https://api.github.com/users/jeprojects/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-17T08:36:00Z","updated_at":"2015-04-17T17:37:50Z","closed_at":null,"body":"Authentication seems to happen ok (no error in the logs)\r\n\r\nBut when it goes to get the image, it can't find it.\r\n\r\ntime=\"2015-04-17T08:30:54Z\" level=\"info\" msg=\"+job pull(xx/xx, latest)\"\r\ntime=\"2015-04-17T08:30:54Z\" level=\"info\" msg=\"+job resolve_repository(xx/xx)\"\r\ntime=\"2015-04-17T08:30:54Z\" level=\"info\" msg=\"-job resolve_repository(xx/xx) = OK (0)\"\r\nError: image xx/xx:latest not found\r\ntime=\"2015-04-17T08:30:55Z\" level=\"info\" msg=\"-job pull(xx/xx, latest) = ERR (1)\"\r\n\r\nIf I set the repo to public, it gets the image fine and the docker is deployed."},"comment":{"url":"https://api.github.com/repos/aws/amazon-ecs-agent/issues/comments/94035064","html_url":"https://github.com/aws/amazon-ecs-agent/issues/55#issuecomment-94035064","issue_url":"https://api.github.com/repos/aws/amazon-ecs-agent/issues/55","id":94035064,"user":{"login":"euank","id":2147649,"avatar_url":"https://avatars.githubusercontent.com/u/2147649?v=3","gravatar_id":"","url":"https://api.github.com/users/euank","html_url":"https://github.com/euank","followers_url":"https://api.github.com/users/euank/followers","following_url":"https://api.github.com/users/euank/following{/other_user}","gists_url":"https://api.github.com/users/euank/gists{/gist_id}","starred_url":"https://api.github.com/users/euank/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/euank/subscriptions","organizations_url":"https://api.github.com/users/euank/orgs","repos_url":"https://api.github.com/users/euank/repos","events_url":"https://api.github.com/users/euank/events{/privacy}","received_events_url":"https://api.github.com/users/euank/received_events","type":"User","site_admin":false},"created_at":"2015-04-17T17:37:50Z","updated_at":"2015-04-17T17:37:50Z","body":"The docker daemon doesn't log anything related to authentication I believe, so those logs won't have anything interesting. I need more information on the issue you're hitting since I'm unable to reproduce this.\r\n\r\nCan you verify the agent logs do not contain anything from the 'docker auth' module (grepping that string might be helpful)? Can you also check for anything else at 'EROR' level?\r\nCan you `docker inspect` the agent's container and verify the two environment variables look correct in that output?"}}