Giter VIP home page Giter VIP logo

docker-feedstock's Issues

Updating the version

The below code can be used to find the latest version and sha256:

import hashlib
import requests


def natsort(l):
    import re
    # https://stackoverflow.com/a/4836734/2960140
    convert = lambda text: int(text) if text.isdigit() else text.lower() 
    alphanum_key = lambda key: tuple(map(convert, re.split('([0-9]+)', key)))
    return sorted(l, key=alphanum_key)


url = "https://dockermsft.blob.core.windows.net/dockercontainer/DockerMsftIndex.json"
data = requests.get(url).json()
latest_version = natsort(data['versions'].keys())[-1]
print(latest_version, '-', data['versions'][latest_version]['date'])
print(data['versions'][latest_version]['sha256'].lower())

EOL: `docker-ee` is no longer a thing :cry:

Comment:

At the end of September 2022, Microsoft will no longer maintain the DockerMsftProvider API, and instead customers should go to the Mirantis site for installation. Customers looking to Microsoft for support will still have access to Mirantis services at no cost until September 2022, after which customers may purchase Mirantis’ annual support contract.

https://techcommunity.microsoft.com/t5/containers/updates-to-the-windows-container-runtime-support/ba-p/2788799

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.