{"action":"closed","issue":{"url":"https://api.github.com/repos/kubernetes-incubator/cri-o/issues/880","repository_url":"https://api.github.com/repos/kubernetes-incubator/cri-o","labels_url":"https://api.github.com/repos/kubernetes-incubator/cri-o/issues/880/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes-incubator/cri-o/issues/880/comments","events_url":"https://api.github.com/repos/kubernetes-incubator/cri-o/issues/880/events","html_url":"https://github.com/kubernetes-incubator/cri-o/issues/880","id":256742260,"number":880,"title":"Prepend registries from config","user":{"login":"luizbafilho","id":355751,"avatar_url":"https://avatars2.githubusercontent.com/u/355751?v=4","gravatar_id":"","url":"https://api.github.com/users/luizbafilho","html_url":"https://github.com/luizbafilho","followers_url":"https://api.github.com/users/luizbafilho/followers","following_url":"https://api.github.com/users/luizbafilho/following{/other_user}","gists_url":"https://api.github.com/users/luizbafilho/gists{/gist_id}","starred_url":"https://api.github.com/users/luizbafilho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luizbafilho/subscriptions","organizations_url":"https://api.github.com/users/luizbafilho/orgs","repos_url":"https://api.github.com/users/luizbafilho/repos","events_url":"https://api.github.com/users/luizbafilho/events{/privacy}","received_events_url":"https://api.github.com/users/luizbafilho/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-09-11T15:22:18Z","updated_at":"2017-11-03T21:38:37Z","closed_at":"2017-11-03T21:38:36Z","author_association":"NONE","body":"Hi, \r\n\r\nI would like to know if it is possible to prepend the `registries` from `crio.conf` instead of append them in the final registries list.\r\n\r\nI'm requesting that to avoid this error:\r\n```\r\n[root@k8s-minion-be-2 ~]# kpod pull redis\r\nerror pulling image from \"redis\": error loading image \"redis\": Error initializing image from source docker://redis:latest: pinging docker registry returned: Get https://registry-1.docker.io/v2/: dial tcp 52.87.53.92:443: i/o timeout\r\nmain.pullCmd\r\n        /home/vagrant/go/src/github.com/kubernetes-incubator/cri-o/cmd/kpod/pull.go:53\r\ngithub.com/kubernetes-incubator/cri-o/vendor/github.com/urfave/cli.HandleAction\r\n        /home/vagrant/go/src/github.com/kubernetes-incubator/cri-o/vendor/github.com/urfave/cli/app.go:485\r\ngithub.com/kubernetes-incubator/cri-o/vendor/github.com/urfave/cli.Command.Run\r\n        /home/vagrant/go/src/github.com/kubernetes-incubator/cri-o/vendor/github.com/urfave/cli/command.go:193\r\ngithub.com/kubernetes-incubator/cri-o/vendor/github.com/urfave/cli.(*App).Run\r\n        /home/vagrant/go/src/github.com/kubernetes-incubator/cri-o/vendor/github.com/urfave/cli/app.go:250\r\nmain.main\r\n        /home/vagrant/go/src/github.com/kubernetes-incubator/cri-o/cmd/kpod/main.go:90\r\nruntime.main\r\n        /usr/local/go/src/runtime/proc.go:185\r\nruntime.goexit\r\n        /usr/local/go/src/runtime/asm_amd64.s:2197\r\n```\r\n\r\nPrepend is useful when deploying kubernetes on offline nodes, which is my case. In most of enterprise deployments, nodes will not have internet access, requiring a private repository that will mostly serve as a docker hub mirror.\r\n\r\nI'm willing to do a PR to fix that, but I couldn't find the right place to make the change. If you point me the direction would be great.\r\n\r\nCRI-O version I'm using:\r\n```\r\n# crio -v\r\ncrio version 1.0.0-rc2-dev\r\ncommit: \"36584e6f34e54461eaba66e8b09f2652d75d45cc-dirty\"\r\n```"}}
{"actor":{"display_login":"rhatdan"}}