The docker quickstart instructions here: https://docs.openshift.org/latest/getting_started/administrators.html#running-in-a-docker-container
Don't appear to work on CentOS 7, with docker 1.10.
I get the following error when deploying anything, (registry, router, etc)
error: open /var/run/secrets/kubernetes.io/serviceaccount/token: no such file or directory
Version
oc v1.3.1
kubernetes v1.3.0+52492b4
features: Basic-Auth GSSAPI Kerberos SPNEGO
Server https://104.236.167.181:8443
openshift v1.3.1
kubernetes v1.3.0+52492b4
Steps To Reproduce
-
Run the following to boot an OpenShift Origin Instance:
sudo 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 start
-
Attempt to deploy anything, the registry for instance:
oadm registry --config=admin.kubeconfig --service-account=registry
Current Result
Deployment pod fails with above error
Expected Result
Deployment pod should successfully start
The docker quickstart instructions here: https://docs.openshift.org/latest/getting_started/administrators.html#running-in-a-docker-container
Don't appear to work on CentOS 7, with docker 1.10.
I get the following error when deploying anything, (registry, router, etc)
Version
oc v1.3.1
kubernetes v1.3.0+52492b4
features: Basic-Auth GSSAPI Kerberos SPNEGO
Server https://104.236.167.181:8443
openshift v1.3.1
kubernetes v1.3.0+52492b4
Steps To Reproduce
Run the following to boot an OpenShift Origin Instance:
Attempt to deploy anything, the registry for instance:
Current Result
Deployment pod fails with above error
Expected Result
Deployment pod should successfully start