Hi,

I've installed OpenShift with Docker method (
https://docs.openshift.org/latest/getting_started/administrators.html#running-in-a-docker-container
) on CentOS Linux release 7.2.1511 (Core)

```
# docker run -d --name "origin" --privileged --pid=host --net=host -v
/:/rootfs:ro -v /var/run:/var/run:rw -v /sys:/sys -v
/var/lib/docker:/var/lib/docker:rw -v
/var/lib/origin/openshift.local.volumes:/var/lib/origin/openshift.local.volumes
openshift/origin:v1.1.1.1 start
# docker exec -it origin bash
# oc login -u system:admin
# oc project default
# oadm registry
--credentials=./openshift.local.config/master/openshift-registry.kubeconfig
# oc logs docker-registry-1-deploy
F0209 22:00:19.098482       1 deployer.go:65] couldn't get deployment
default/docker-registry-1: Get
https://10.0.2.15:8443/api/v1/namespaces/default/replicationcontrollers/docker-registry-1:
dial tcp 10.0.2.15:8443: no route to host
```

But ```10.0.2.15:8443``` is accessible :

```
# curl
https://10.0.2.15:8443/api/v1/namespaces/default/replicationcontrollers/docker-registry-1
--insecure
{
  "kind": "Status",
  "apiVersion": "v1",
  "metadata": {},
  "status": "Failure",
  "message": "User \"system:anonymous\" cannot get replicationcontrollers
in project \"default\"",
  "reason": "Forbidden",
  "details": {
    "name": "docker-registry-1",
    "kind": "replicationcontrollers"
  },
  "code": 403
}
```

Where is my mistake ?

Best regards,
Stéphane

-- 
Stéphane Klein <[email protected]>
blog: http://stephane-klein.info
cv : http://cv.stephane-klein.info
Twitter: http://twitter.com/klein_stephane
_______________________________________________
users mailing list
[email protected]
http://lists.openshift.redhat.com/openshiftmm/listinfo/users

Reply via email to