{"action":"created","issue":{"url":"https://api.github.com/repos/GoogleContainerTools/jib/issues/648","repository_url":"https://api.github.com/repos/GoogleContainerTools/jib","labels_url":"https://api.github.com/repos/GoogleContainerTools/jib/issues/648/labels{/name}","comments_url":"https://api.github.com/repos/GoogleContainerTools/jib/issues/648/comments","events_url":"https://api.github.com/repos/GoogleContainerTools/jib/issues/648/events","html_url":"https://github.com/GoogleContainerTools/jib/issues/648","id":342262265,"node_id":"MDU6SXNzdWUzNDIyNjIyNjU=","number":648,"title":" Retrieving registry credentials for registry.hub.docker.com is very slow","user":{"login":"shijiaoming","id":24383803,"node_id":"MDQ6VXNlcjI0MzgzODAz","avatar_url":"https://avatars2.githubusercontent.com/u/24383803?v=4","gravatar_id":"","url":"https://api.github.com/users/shijiaoming","html_url":"https://github.com/shijiaoming","followers_url":"https://api.github.com/users/shijiaoming/followers","following_url":"https://api.github.com/users/shijiaoming/following{/other_user}","gists_url":"https://api.github.com/users/shijiaoming/gists{/gist_id}","starred_url":"https://api.github.com/users/shijiaoming/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shijiaoming/subscriptions","organizations_url":"https://api.github.com/users/shijiaoming/orgs","repos_url":"https://api.github.com/users/shijiaoming/repos","events_url":"https://api.github.com/users/shijiaoming/events{/privacy}","received_events_url":"https://api.github.com/users/shijiaoming/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-18T10:07:06Z","updated_at":"2018-07-18T11:51:41Z","closed_at":null,"author_association":"NONE","body":"\r\n**Description of the issue**:\r\nwhere i push my image to private repository , i got this message:\r\n```\r\nRetrieving registry credentials for registry.hub.docker.com.\r\n```\r\n**maven build log**:\r\n```\r\n[INFO] Containerizing application to 172.21.16.8:5000/register-xxx:built-w-j...\r\n[INFO] \r\n[INFO] Retrieving registry credentials for 172.21.16.8:5000...\r\n[INFO] Getting base image frolvlad/alpine-oraclejdk8...\r\n[INFO] Building dependencies layer...\r\n[INFO] Building resources layer...\r\n[INFO] Building classes layer...\r\n↓↓↓↓↓ start slow ↓↓↓↓\r\n[INFO] Retrieving registry credentials for registry.hub.docker.com...(  1 )\r\n\r\n[INFO] Finalizing...\r\n[INFO] \r\n[INFO] Container entrypoint set to [java, -cp, /app/libs/*:/app/resources/:/app/classes/, cn.com.share.RegisterApplication]\r\n[INFO] \r\n[INFO] Built and pushed image as 172.21.16.8:5000/register-xxx:built-w-j\r\n[INFO] \r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] Reactor Summary:\r\n[INFO] \r\n[INFO] sharebang-service .................................. SUCCESS [  1.244 s]\r\n[INFO] register ........................................... SUCCESS [ 18.557 s]\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] BUILD SUCCESS\r\n```\r\n**question**: \r\nthis step very slow when maven running here( 1 )`Retrieving registry credentials for registry.hub.docker.com`, because i can not visit `docker.com`\r\n\r\nHow to jump that step ?\r\n\r\nTHX.\r\n"},"comment":{"url":"https://api.github.com/repos/GoogleContainerTools/jib/issues/comments/405904303","html_url":"https://github.com/GoogleContainerTools/jib/issues/648#issuecomment-405904303","issue_url":"https://api.github.com/repos/GoogleContainerTools/jib/issues/648","id":405904303,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNTkwNDMwMw==","user":{"login":"chanseokoh","id":10523105,"node_id":"MDQ6VXNlcjEwNTIzMTA1","avatar_url":"https://avatars2.githubusercontent.com/u/10523105?v=4","gravatar_id":"","url":"https://api.github.com/users/chanseokoh","html_url":"https://github.com/chanseokoh","followers_url":"https://api.github.com/users/chanseokoh/followers","following_url":"https://api.github.com/users/chanseokoh/following{/other_user}","gists_url":"https://api.github.com/users/chanseokoh/gists{/gist_id}","starred_url":"https://api.github.com/users/chanseokoh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chanseokoh/subscriptions","organizations_url":"https://api.github.com/users/chanseokoh/orgs","repos_url":"https://api.github.com/users/chanseokoh/repos","events_url":"https://api.github.com/users/chanseokoh/events{/privacy}","received_events_url":"https://api.github.com/users/chanseokoh/received_events","type":"User","site_admin":false},"created_at":"2018-07-18T11:51:41Z","updated_at":"2018-07-18T11:51:41Z","author_association":"MEMBER","body":"Hi @shijiaoming,\r\n\r\nYou cannot skip contacting Docker Hub because you (Jib) are to push the built image to the remote Docker Hub registry. If you are asking if Jib has a way to not push an image to a remote registry but rather save it to a local Docker daemon, you can do `mvn compile jib:dockerBuild`."}}
{"actor":{"display_login":"chanseokoh"}}