-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Unable to parse docker version "1.26": illegal version string "1.26" #14279
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Backport of upstream kubernetes/kubernetes#44068 seems required. |
That backport came in #14158 |
Docker API version is not and has not been a Semantic Version. Not sure that is the correct backport -- that was just to not parse the Docker package version as semantic. |
I would like to fix 1.13, but for reference, docker 1.12.6 is the actually supported version at this time. |
From the changes by @soltysh in #14158 we see this change: - version, err := utilversion.ParseSemantic(v.Version)
+ version, err := utilversion.ParseSemantic(v.APIVersion) Which is incorrectly parsing the API version of Docker as a semantic version -- it is not. Why is that working upstream? |
looks like an error in the port from upstream. |
Should be fixed right now. |
It looks like it's still not fixed, I'm getting:
on recent master. |
It looks like this line need to be switched to |
@derekwaynecarr are you aware of any changes that happened upstream, I'm missing here? |
I think I spoke too soon, since I'm using |
Since #13865 is closed, copying here what was wrong with new docker in that issue :
|
The problem is that
|
Now that https://github.com/openshift/origin/releases/tag/v3.6.0-alpha.2 is released the |
@soltysh I don't think this has been fixed yet. Openshift Version:
Docker Version:
Still getting this error:
|
@caleblloyd how do you run openshift, if through docker, make sure to use alpha-2 images. It's the server that needs to be fixed. |
@soltysh I tried both |
It looks like in your case it's this: https://docs.openshift.org/latest/admin_guide/manage_scc.html#enable-dockerhub-images-that-require-root because I've just tried with:
and
on my fedora 25 machine and it worked just fine, but with that scc tweak as described in the link. The reason for that is that nginx is trying to expose port 80, which is a root operation and you need to set appropriate access right to do so. Personally, I always check with |
@soltysh thank you. I did get OpenShift working fine inside of a Ubuntu 16.04 VM using Docker 17.06-ce. The problem |
I see the
Unable to parse docker version "1.26": illegal version string "1.26"
error in OpenShift logs.Version
Steps To Reproduce
cd examples/sample-app
sudo
which openshiftstart --public-master=127.0.0.1 --volume-dir=$PWD/volumes &>logs/openshift.log
Current Result
Expected Result
There is no such error.
Additional Information
The text was updated successfully, but these errors were encountered: