sudo yum install centos-release-openshift-origin
sudo yum install wget git net-tools bind-utils iptables-services bridge-utils bash-completion origin-clients
sudo oc cluster up
at this point, you get a terrifying
after some googling, I start with :
oc cluster up --skip-registry-check=true
I open the console at https://127.0.0.1:8443 (add security exception) and login with system/admin
go to overview
If you see an error in the logs "Could not resolve host: github.com", you are screwed !
Haha no, just "sudo systemctl restart docker" , then "oc start-build --from-build=yourbuildid"
create a new project, java, wildfly, copy git url, create project pvproject01
oc login https://127.0.0.1:8443
system/admin
oc project pvproject01
oc status
If you get this
it simply means that OpenShift developers are morons, and you have to wait the next release 1.5 for a fix. What a pathetic mess.
sudo yum install wget git net-tools bind-utils iptables-services bridge-utils bash-completion origin-clients
sudo oc cluster up
at this point, you get a terrifying
-- Checking Docker daemon configuration ... FAIL
Error: did not detect an --insecure-registry argument on the Docker daemon
Solution:
Ensure that the Docker daemon is running with the following argument:
--insecure-registry 172.30.0.0/16
after some googling, I start with :
oc cluster up --skip-registry-check=true
Starting OpenShift using openshift/origin:v3.6.0 ...
OpenShift server started.
The server is accessible via web console at:
https://127.0.0.1:8443
You are logged in as:
User: developer
Password:
To login as administrator:
oc login -u system:admin
I open the console at https://127.0.0.1:8443 (add security exception) and login with system/admin
go to overview
If you see an error in the logs "Could not resolve host: github.com", you are screwed !
Haha no, just "sudo systemctl restart docker" , then "oc start-build --from-build=yourbuildid"
create a new project, java, wildfly, copy git url, create project pvproject01
oc login https://127.0.0.1:8443
system/admin
oc project pvproject01
oc status
If you get this
[centos@localhost ~]$ oc cluster up --skip-registry-check=true
-- Checking OpenShift client ... OK
-- Checking Docker client ... OK
-- Checking Docker version ... FAIL
Error: Minor number must not contain leading zeroes "09"
it simply means that OpenShift developers are morons, and you have to wait the next release 1.5 for a fix. What a pathetic mess.