Reputation: 3380
I have executed Openshift Origin with
oc cluster up --version=latest
I can see that a new version has been pulled (v3.6.0-alpha.1+7044e57-29). However since then, I'm not able to build any image. For example:
oc new-app --name=myapp openshift/wildfly~https://github.com/openshiftdemos/os-sample-java-web.git
Result:
error: build error: fatal: unable to access 'https://github.com/openshiftdemos/': Could not resolve host: github.com; Unknown error
I've tried running oc cluster up with root as well but result didn't change. Anything changed with the latest release ?
Upvotes: 2
Views: 771
Reputation: 2050
try with:
sudo oc cluster down
sudo iptables -F
sudo oc cluster up
see also https://github.com/openshift/origin/issues/12110
Upvotes: 0
Reputation: 774
May the configuration behind a firewall? If so, try setting HTTP_PROXY_HOST and HTTP_PROXY_PORT environment variables.
Details can be accessed from here.
Upvotes: 1
Reputation: 208
Have you tried to use latest stable release? If this still do not work this may be version of your docker. Try to install latest stable release and then check your docker version.
Upvotes: 1