mlcommons / mlcommons/mlcube

Docker runs as root (mnist_openfl example)

Open
#192 2 comments 1 reaction 1 assignee View on GitHub

@sergey-serebryakov is already working on this.

Since Oct 22, 2021.

Dominant language
Python
Stars
160
Forks
31
PR merge metrics
No merged PRs in 30d

Description

When I follow the mnist_openfl example, the container runs as root. This also means that all output files are set to root ownership, and are thus unwriteable by other users.

I modified the example to have separate model_in and model_out directories so that I could overwrite the model_in without being root. here you can see the root ownership:

~/git/mlcube_examples/mnist_openfl/workspace/model_out(master*) » ll
total 4.0K
drwxr-xr-x 4 root root 4.0K Jul 13 15:18 mnist_model

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.