{"action":"created","issue":{"url":"https://api.github.com/repos/minishift/minishift/issues/794","repository_url":"https://api.github.com/repos/minishift/minishift","labels_url":"https://api.github.com/repos/minishift/minishift/issues/794/labels{/name}","comments_url":"https://api.github.com/repos/minishift/minishift/issues/794/comments","events_url":"https://api.github.com/repos/minishift/minishift/issues/794/events","html_url":"https://github.com/minishift/minishift/issues/794","id":223110037,"number":794,"title":"Login to the docker registry failed on windows 10","user":{"login":"amitkrout","id":19851115,"avatar_url":"https://avatars1.githubusercontent.com/u/19851115?v=3","gravatar_id":"","url":"https://api.github.com/users/amitkrout","html_url":"https://github.com/amitkrout","followers_url":"https://api.github.com/users/amitkrout/followers","following_url":"https://api.github.com/users/amitkrout/following{/other_user}","gists_url":"https://api.github.com/users/amitkrout/gists{/gist_id}","starred_url":"https://api.github.com/users/amitkrout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amitkrout/subscriptions","organizations_url":"https://api.github.com/users/amitkrout/orgs","repos_url":"https://api.github.com/users/amitkrout/repos","events_url":"https://api.github.com/users/amitkrout/events{/privacy}","received_events_url":"https://api.github.com/users/amitkrout/received_events","type":"User","site_admin":false},"labels":[{"id":403874607,"url":"https://api.github.com/repos/minishift/minishift/labels/kind/bug","name":"kind/bug","color":"84b6eb","default":false},{"id":524947936,"url":"https://api.github.com/repos/minishift/minishift/labels/os/windows","name":"os/windows","color":"fef2c0","default":false},{"id":503456382,"url":"https://api.github.com/repos/minishift/minishift/labels/priority/major","name":"priority/major","color":"e99695","default":false},{"id":403874611,"url":"https://api.github.com/repos/minishift/minishift/labels/resolution/invalid","name":"resolution/invalid","color":"e6e6e6","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-04-20T15:37:45Z","updated_at":"2017-04-25T09:31:36Z","closed_at":"2017-04-25T09:27:19Z","body":"Enviornment : \r\n```\r\nOS - Windows 10\r\nPowershell Version - 5.1\r\nMinishift - v1.0.0-rc.2\r\nDocker version - 1.8.0\r\n```\r\nSteps to reproduce : \r\n```\r\n1. Start minishift using command \"minishift start\"\r\nPS C:\\minishift-1.0.0-rc.2-windows-amd64> .\\minishift.exe start\r\n\r\n2. Add the oc binary to the PATH\r\nAdd oc path in windows enviornment path variable  \r\n\r\n3. Use the minishift docker-env command to export the environment variables that are required to reuse the daemon.\r\nPS C:\\minishift-1.0.0-rc.2-windows-amd64> .\\minishift.exe docker-env\r\nPS C:\\minishift-1.0.0-rc.2-windows-amd64> & .\\minishift.exe docker-env | Invoke-Expression\r\n\r\n4. Get the docker registry information in the form of host:port.\r\nPS C:\\minishift-1.0.0-rc.2-windows-amd64> .\\minishift.exe openshift registry\r\n\r\n5. Login to the docker registry\r\nPS C:\\minishift-1.0.0-rc.2-windows-amd64> docker.exe login -u developer -p `oc whoami -t` 172.30.1.1:5000\r\n\r\n```\r\n\r\n```\r\nPS C:\\minishift-1.0.0-rc.2-windows-amd64> .\\minishift.exe start\r\nStarting local OpenShift cluster using 'hyperv' hypervisor...\r\n-- Checking OpenShift client ... OK\r\n-- Checking Docker client ... OK\r\n-- Checking Docker version ... OK\r\n-- Checking for existing OpenShift container ... OK\r\n-- Checking for openshift/origin:v1.5.0-rc.0 image ...\r\n   Pulling image openshift/origin:v1.5.0-rc.0\r\n   Pulled 0/3 layers, 3% complete\r\n   Pulled 1/3 layers, 56% complete\r\n   Pulled 2/3 layers, 71% complete\r\n   Pulled 3/3 layers, 100% complete\r\n   Extracting\r\n   Image pull complete\r\n-- Checking Docker daemon configuration ... OK\r\n-- Checking for available ports ... OK\r\n-- Checking type of volume mount ...\r\n   Using Docker shared volumes for OpenShift volumes\r\n-- Creating host directories ... OK\r\n-- Finding server IP ...\r\n   Using 10.34.25.205 as the server IP\r\n-- Starting OpenShift container ...\r\n   Creating initial OpenShift configuration\r\n   Starting OpenShift using container 'origin'\r\n   Waiting for API server to start listening\r\n   OpenShift server started\r\n-- Adding default OAuthClient redirect URIs ... OK\r\n-- Installing registry ... OK\r\n-- Installing router ... OK\r\n-- Importing image streams ... OK\r\n-- Importing templates ... OK\r\n-- Login to server ... OK\r\n-- Creating initial project \"myproject\" ... OK\r\n-- Removing temporary directory ... OK\r\n-- Checking container networking ... OK\r\n-- Server Information ...\r\n   OpenShift server started.\r\n   The server is accessible via web console at:\r\n       https://10.34.25.205:8443\r\n\r\n   You are logged in as:\r\n       User:     developer\r\n       Password: developer\r\n\r\n   To login as administrator:\r\n       oc login -u system:admin\r\n\r\nPS C:\\minishift-1.0.0-rc.2-windows-amd64> .\\minishift.exe docker-env\r\n$Env:DOCKER_TLS_VERIFY = \"1\"\r\n$Env:DOCKER_HOST = \"tcp://10.34.24.132:2376\"\r\n$Env:DOCKER_CERT_PATH = \"C:\\Users\\cdk\\.minishift\\certs\"\r\n$Env:DOCKER_API_VERSION = \"1.24\"\r\n# Run this command to configure your shell:\r\n# & minishift docker-env | Invoke-Expression\r\n\r\nPS C:\\minishift-1.0.0-rc.2-windows-amd64> & .\\minishift docker-env | Invoke-Expression\r\n\r\nPS C:\\minishift-1.0.0-rc.2-windows-amd64> docker.exe ps\r\nCONTAINER ID        IMAGE                                                                                                    COMMAND                  CREATED\r\n STATUS              PORTS               NAMES\r\n4f5d70b3e85c        172.30.1.1:5000/django-ex/perl@sha256:5d543b2a07c4c4184b0ac3f4fe2dde93dfa7932e8567f0283840b17e19ef3721   \"container-entrypoint\"   About an hour ago\r\n Up About an hour                        k8s_perl.59f5bc03_perl-1-lbdbj_django-ex_0c8e3e21-25c1-11e7-a7ec-ee195f75a135_a569416d\r\n8b6602de94be        openshift/origin-pod:v1.5.0-rc.0                                                                         \"/pod\"                   About an hour ago\r\n Up About an hour                        k8s_POD.ab2effef_perl-1-lbdbj_django-ex_0c8e3e21-25c1-11e7-a7ec-ee195f75a135_cb31d681\r\ncafdf27ba8ae        openshift/origin-haproxy-router:v1.5.0-rc.0                                                              \"/usr/bin/openshift-r\"   About an hour ago\r\n Up About an hour                        k8s_router.f2170cb6_router-1-fwt2h_default_d147fed5-25be-11e7-a7ec-ee195f75a135_a54ffec0\r\n58281d4ed7c8        openshift/origin-docker-registry:v1.5.0-rc.0                                                             \"/bin/sh -c 'DOCKER_R\"   About an hour ago\r\n Up About an hour                        k8s_registry.7bced509_docker-registry-1-74lbt_default_d10b4b24-25be-11e7-a7ec-ee195f75a135_bf69c28b\r\n686c177e4365        openshift/origin-pod:v1.5.0-rc.0                                                                         \"/pod\"                   About an hour ago\r\n Up About an hour                        k8s_POD.b831de01_router-1-fwt2h_default_d147fed5-25be-11e7-a7ec-ee195f75a135_aef5f4de\r\n6623be5226f8        openshift/origin-pod:v1.5.0-rc.0                                                                         \"/pod\"                   About an hour ago\r\n Up About an hour                        k8s_POD.9646ffe4_docker-registry-1-74lbt_default_d10b4b24-25be-11e7-a7ec-ee195f75a135_0bdc8b84\r\n559e85a4c9a9        openshift/origin:v1.5.0-rc.0                                                                             \"/usr/bin/openshift s\"   About an hour ago\r\n Up About an hour                        origin\r\n\r\nPS C:\\minishift-1.0.0-rc.2-windows-amd64> docker.exe login -u developer -p `oc whoami -t` 172.30.1.1:5000\r\nunknown shorthand flag: 't' in -t`\r\nSee 'docker login --help'.\r\n\r\nPS C:\\minishift-1.0.0-rc.2-windows-amd64> oc whoami -t\r\n7VexGe4aBc0pySHpa8J1TRCz87m1f66r5FMxCjd9VkY\r\n\r\n```\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/minishift/minishift/issues/comments/296973594","html_url":"https://github.com/minishift/minishift/issues/794#issuecomment-296973594","issue_url":"https://api.github.com/repos/minishift/minishift/issues/794","id":296973594,"user":{"login":"hferentschik","id":296354,"avatar_url":"https://avatars3.githubusercontent.com/u/296354?v=3","gravatar_id":"","url":"https://api.github.com/users/hferentschik","html_url":"https://github.com/hferentschik","followers_url":"https://api.github.com/users/hferentschik/followers","following_url":"https://api.github.com/users/hferentschik/following{/other_user}","gists_url":"https://api.github.com/users/hferentschik/gists{/gist_id}","starred_url":"https://api.github.com/users/hferentschik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hferentschik/subscriptions","organizations_url":"https://api.github.com/users/hferentschik/orgs","repos_url":"https://api.github.com/users/hferentschik/repos","events_url":"https://api.github.com/users/hferentschik/events{/privacy}","received_events_url":"https://api.github.com/users/hferentschik/received_events","type":"User","site_admin":false},"created_at":"2017-04-25T09:31:36Z","updated_at":"2017-04-25T09:31:36Z","body":"See also issue #819"}}
{"actor":{"display_login":"hferentschik"}}