{"action":"created","issue":{"url":"https://api.github.com/repos/docker/compose/issues/4144","repository_url":"https://api.github.com/repos/docker/compose","labels_url":"https://api.github.com/repos/docker/compose/issues/4144/labels{/name}","comments_url":"https://api.github.com/repos/docker/compose/issues/4144/comments","events_url":"https://api.github.com/repos/docker/compose/issues/4144/events","html_url":"https://github.com/docker/compose/issues/4144","id":189090155,"number":4144,"title":"Cannot pull from private repository on docker hub","user":{"login":"ceball","id":1929,"avatar_url":"https://avatars.githubusercontent.com/u/1929?v=3","gravatar_id":"","url":"https://api.github.com/users/ceball","html_url":"https://github.com/ceball","followers_url":"https://api.github.com/users/ceball/followers","following_url":"https://api.github.com/users/ceball/following{/other_user}","gists_url":"https://api.github.com/users/ceball/gists{/gist_id}","starred_url":"https://api.github.com/users/ceball/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ceball/subscriptions","organizations_url":"https://api.github.com/users/ceball/orgs","repos_url":"https://api.github.com/users/ceball/repos","events_url":"https://api.github.com/users/ceball/events{/privacy}","received_events_url":"https://api.github.com/users/ceball/received_events","type":"User","site_admin":false},"labels":[{"id":345373281,"url":"https://api.github.com/repos/docker/compose/labels/group/windows-client","name":"group/windows-client","color":"eb6420","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-14T11:32:32Z","updated_at":"2016-11-16T01:35:57Z","closed_at":null,"body":"I can ``docker pull`` image:tag from a private docker hub repository, but I can't seem to ``docker-compose pull`` the same image:tag. \r\n\r\n```\r\nPS > docker login\r\nUsername: X\r\nPassword: Z\r\nLogin Succeeded\r\n```\r\n\r\n```\r\nPS > docker-compose --verbose pull\r\ncompose.config.config.find: Using configuration files: .\\docker-compose.yml\r\ndocker.auth.auth.find_config_file: Trying paths: ['C:\\\\Users\\\\chris\\\\AppData\\\\Roaming\\\\.docker\\\\config.json', 'C:\\\\Users\r\n\\\\chris\\\\AppData\\\\Roaming\\\\.dockercfg']\r\ndocker.auth.auth.find_config_file: No config file found\r\ncompose.cli.command.get_client: docker-compose version 1.8.1, build 004ddae\r\ndocker-py version: 1.10.3\r\nCPython version: 2.7.12\r\nOpenSSL version: OpenSSL 1.0.2h  3 May 2016\r\ncompose.cli.command.get_client: Docker base_url: http://127.0.0.1:2375\r\ncompose.cli.command.get_client: Docker version: KernelVersion=4.4.27-moby, Os=linux, BuildTime=2016-10-26T23:26:11.10516\r\n8198+00:00, ApiVersion=1.24, Version=1.12.3, GitCommit=6b644ec, Arch=amd64, GoVersion=go1.6.3\r\ncompose.service.pull: Pulling Y (X/Y:d4e922a)...\r\ncompose.cli.verbose_proxy.proxy_callable: docker pull <- (u'X/Y', tag=u'd4e922a', stream=True)\r\ndocker.auth.auth.get_config_header: Looking for auth config\r\ndocker.auth.auth.get_config_header: No auth config in memory - loading from filesystem\r\ndocker.auth.auth.find_config_file: Trying paths: ['C:\\\\Users\\\\chris\\\\AppData\\\\Roaming\\\\.docker\\\\config.json', 'C:\\\\Users\r\n\\\\chris\\\\AppData\\\\Roaming\\\\.dockercfg']\r\ndocker.auth.auth.find_config_file: No config file found\r\ndocker.auth.auth.resolve_authconfig: Looking for auth entry for 'docker.io'\r\ndocker.auth.auth.resolve_authconfig: No entry found\r\ndocker.auth.auth.get_config_header: No auth config found\r\ncompose.cli.verbose_proxy.proxy_callable: docker pull -> <generator object _stream_helper at 0x0000000003AD7948>\r\nPulling repository docker.io/X/Y\r\nERROR: compose.cli.main.main: Error: image X/Y:d4e922a not found\r\n```\r\n\r\n```\r\nPS > docker pull X/Y:d4e922a\r\nd4e922a: Pulling from X/Y\r\n...\r\nStatus: Downloaded newer image for X/Y:d4e922a\r\n```\r\n\r\nMy problem looks similar to #1622 (closed).\r\n\r\n-----\r\n\r\nI'm on Windows 10 Enterprise - docker information below...\r\n\r\n```\r\nPS > docker info\r\nContainers: 65\r\n Running: 0\r\n Paused: 0\r\n Stopped: 65\r\nImages: 385\r\nServer Version: 1.12.3\r\nStorage Driver: aufs\r\n Root Dir: /var/lib/docker/aufs\r\n Backing Filesystem: extfs\r\n Dirs: 556\r\n Dirperm1 Supported: true\r\nLogging Driver: json-file\r\nCgroup Driver: cgroupfs\r\nPlugins:\r\n Volume: local\r\n Network: host bridge null overlay\r\nSwarm: inactive\r\nRuntimes: runc\r\nDefault Runtime: runc\r\nSecurity Options: seccomp\r\nKernel Version: 4.4.27-moby\r\nOperating System: Alpine Linux v3.4\r\nOSType: linux\r\nArchitecture: x86_64\r\nCPUs: 2\r\nTotal Memory: 1.919 GiB\r\nName: moby\r\nID: MMZQ:KDVO:C23Y:YRJJ:NXBI:F26V:4AGW:RLNN:2MGF:JB54:WJ2X:FSMH\r\nDocker Root Dir: /var/lib/docker\r\nDebug Mode (client): false\r\nDebug Mode (server): false\r\nRegistry: https://index.docker.io/v1/\r\nWARNING: No kernel memory limit support\r\nInsecure Registries:\r\n 127.0.0.0/8\r\n```\r\n\r\n```\r\nPS > docker version\r\nClient:\r\n Version:      1.12.3\r\n API version:  1.24\r\n Go version:   go1.6.3\r\n Git commit:   6b644ec\r\n Built:        Wed Oct 26 23:26:11 2016\r\n OS/Arch:      windows/amd64\r\n\r\nServer:\r\n Version:      1.12.3\r\n API version:  1.24\r\n Go version:   go1.6.3\r\n Git commit:   6b644ec\r\n Built:        Wed Oct 26 23:26:11 2016\r\n OS/Arch:      linux/amd64\r\n```\r\n\r\n```\r\nPS > docker-compose version\r\ndocker-compose version 1.8.1, build 004ddae\r\ndocker-py version: 1.10.3\r\nCPython version: 2.7.12\r\nOpenSSL version: OpenSSL 1.0.2h  3 May 2016\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/docker/compose/issues/comments/260827113","html_url":"https://github.com/docker/compose/issues/4144#issuecomment-260827113","issue_url":"https://api.github.com/repos/docker/compose/issues/4144","id":260827113,"user":{"login":"shin-","id":1086876,"avatar_url":"https://avatars.githubusercontent.com/u/1086876?v=3","gravatar_id":"","url":"https://api.github.com/users/shin-","html_url":"https://github.com/shin-","followers_url":"https://api.github.com/users/shin-/followers","following_url":"https://api.github.com/users/shin-/following{/other_user}","gists_url":"https://api.github.com/users/shin-/gists{/gist_id}","starred_url":"https://api.github.com/users/shin-/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shin-/subscriptions","organizations_url":"https://api.github.com/users/shin-/orgs","repos_url":"https://api.github.com/users/shin-/repos","events_url":"https://api.github.com/users/shin-/events{/privacy}","received_events_url":"https://api.github.com/users/shin-/received_events","type":"User","site_admin":false},"created_at":"2016-11-16T01:35:57Z","updated_at":"2016-11-16T01:35:57Z","body":"Do you happen to know where you Docker configuration file is located? It looks like the attempt to access the predicted location `C:\\Users\\chris\\AppData\\Roaming\\.docker\\config.json` failed."}}
{"actor":{"display_login":"shin-"}}