Skip to content
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

Inspect command for docker runner. #316

Merged

Commits on Jul 21, 2023

  1. Inspect command for docker runner.

    To inspect MLCubes with docker platforms, invoke the following command (assuming this runs inside the root directory of an MLCube-based project): `mlcube inspect --mlcube=. --platform=docker`.
    
    MLCube docker runner will run `docker inspect IMAGE_NAME` first and will capture its json output (output should a json-parseable string). The output is expected to be a list with one element containing dictionary.
    
    The return dictionary will contain a single entry with `hash` key. The value will be the `Id` value in docker inspect output - image ID (sha256 of the image config.json file).
    sergey-serebryakov committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    0c85343 View commit details
    Browse the repository at this point in the history