Giter Site home page Giter Site logo

Comments (8)

SvenDowideit avatar SvenDowideit commented on August 19, 2024

boot2docker/boot2docker#285

from boot2docker-cli.

riobard avatar riobard commented on August 19, 2024

There are three versions we need to show: the boot2docker ISO version, the boot2docker-cli version, and the docker version. For the latter two it's relatively easy to get the version strings locally and compare with the GitHub release tags. I'm not sure how to figure the version of a local ISO image. Any suggestions?

from boot2docker-cli.

gmlewis avatar gmlewis commented on August 19, 2024

Maybe we can get @SvenDowideit to add either an MD5 or SHA1 hash to this service:
https://api.github.com/repos/boot2docker/boot2docker/releases
and then we could simply reverse-lookup the hash of the current local ISO to report the version number.

from boot2docker-cli.

tianon avatar tianon commented on August 19, 2024

If we can get a very simple ISO file format reader going, there is a "version" file inside that can be used. 7z can get at it trivially, but I think a dep on 7z just to determine the version number of our local ISO would be absurd. :)

from boot2docker-cli.

riobard avatar riobard commented on August 19, 2024

@tianon Yeah, that's a bit overkill :)

I like @gmlewis's proposal. The hash of ISO images can be used for integrity check after downloading too, so we get double benefits :) @SvenDowideit will you be able to add a hash to the GitHub releases?

from boot2docker-cli.

riobard avatar riobard commented on August 19, 2024

@SvenDowideit is there any plan to add hashes of the ISO files?

from boot2docker-cli.

SvenDowideit avatar SvenDowideit commented on August 19, 2024

yes, a plan exists.

from boot2docker-cli.

tianon avatar tianon commented on August 19, 2024

Sorry, this repository is long-since deprecated in favor of Docker Toolbox (whose usage is now also discouraged in favor of Docker for Windows and Docker for Mac).

from boot2docker-cli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.