Origin: centos7 oc cluster up error: unexpected error inspecting image openshift/origin-control-plane:v3.10

Created on 12 Dec 2018  路  5Comments  路  Source: openshift/origin

I use this Help doc: https://github.com/openshift/origin/blob/v4.0.0-alpha.0/docs/cluster_up_down.md

My physical machine install centos7 and docker1.13.1,and I use openshift-origin-client-tools-v3.10.0-dd10d17-linux-64bit to excute oc cluster up ,but it occurres error:

$ oc cluster up
Getting a Docker client ...
Checking if image openshift/origin-control-plane:v3.10 is available ...
error: unexpected error inspecting image openshift/origin-control-plane:v3.10

$ sudo docker version
Client:
Version: 1.13.1
API version: 1.26
Package version: docker-1.13.1-88.git07f3374.el7.centos.x86_64
Go version: go1.9.4
Git commit: 07f3374/1.13.1
Built: Fri Dec 7 16:13:51 2018
OS/Arch: linux/amd64

Server:
Version: 1.13.1
API version: 1.26 (minimum version 1.12)
Package version: docker-1.13.1-88.git07f3374.el7.centos.x86_64
Go version: go1.9.4
Git commit: 07f3374/1.13.1
Built: Fri Dec 7 16:13:51 2018
OS/Arch: linux/amd64
Experimental: false

Most helpful comment

I use root user install succeed.

All 5 comments

I use root user install succeed.

Ubuntu Bionic too!

Ubuntu Bionic too!

Same to me. I use sudo and it worked :)

I used sudo and it worked. Thanks.

It works with _sudo_ just because your $USERis not within the docker group (so you still need to add _sudo_ before docker command). Note that after adding $USER into docker group, you'd need to restart the whole system (not just docker) so it works.

Was this page helpful?
0 / 5 - 0 ratings