mlcube icon indicating copy to clipboard operation
mlcube copied to clipboard

[WIP] Validate if Runner process exists

Open davidjurado opened this issue 3 years ago • 2 comments

When executing MLCube whiout Docker installed or running there is a long error message indicating that it's possible that Docker isn't running (Is the docker daemon running?) but this message is at the top of other outputs and it's hard to understand the actual error, the idea of this PR is to provide a better error message by checking if there aren't any Docker processes running and provide a simpler output.

Before:

imagen

After:

imagen

davidjurado avatar Aug 26 '22 14:08 davidjurado

MLCommons CLA bot All contributors have signed the MLCommons CLA ✍️ ✅

github-actions[bot] avatar Aug 26 '22 14:08 github-actions[bot]

We need to verify that either docker or podman are available. Both docker and podman use the docker runner, hence for the podman user docker will likely not be running and will not need to be for mlcube to work correctly using the docker runner. The podman user specifies "alias docker=podman" and uses the docker_runner. Installation instructions for podman on mac, windows, linux are here: https://podman.io/getting-started/installation

dfeddema avatar Aug 29 '22 18:08 dfeddema