howtowhale/dvm

Docker has changed versioning

Closed this issue · 7 comments

Since Feb 20th, Docker introduced new versioning. DVM cannot detect and install latest Docker version.

$ dvm ls-remote

Got:

...
1.12.6
1.13.0
1.13.1

Expected:

1.12.6
1.13.0
1.13.1
17.03.0-ce  <-- Docker's new versioning 

DVM version:

$ dvm --version
Docker Version Manager version 0.7.0 (5a8942b)

@vek0ng Thanks for the heads up! I'll get cracking on an update.

@vek0ng A new version has been released with this fix: https://github.com/howtowhale/dvm/releases/tag/0.8.0. You should now see new -ce releases when listing remote versions.

Please checkout the release notes, as the install/upgrade procedure was slightly impacted when this repository moved.

Thanks for the quick fix! I'm now running 0.8.0 and able to see the new CE release with ls-remote. Installing the new CE release fails, though:

$ dvm-helper use 17.3.0-ce
17.3.0-ce is not installed. Installing now...
Installing 17.3.0-ce...
Unable to download https://get.docker.com/builds/Linux/x86_64/docker-17.3.0-ce. (Status 403)

I also tried dvm-helper use 17.03.0-ce--note the "03" instead of "3"--with the same result. Am I doing something wrong?

Doh! Thanks for pointing out the problem is the leading 0. I'll get that fixed.

Okay second try! https://github.com/howtowhale/dvm/releases/tag/0.8.2 Let me know if you run into problems.

Works like a charm. Thanks a bunch!