Skip to content

Commit

Permalink
Add missing flags to docker command to mount the working dir and set …
Browse files Browse the repository at this point in the history
…-cap-add=sys_nice (#383)

REME.md update

Authors:
  - David Gardner (https://github.com/dagardner-nv)

Approvers:
  - Christopher Harris (https://github.com/cwharris)
  - Michael Demoret (https://github.com/mdemoret-nv)

URL: #383
  • Loading branch information
dagardner-nv authored Sep 11, 2023
1 parent 5747320 commit 9153243
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,9 +155,13 @@ docker build -t mrc:latest .
```
To run the container
```bash
docker run --gpus all --rm -it mrc:latest /bin/bash
docker run --gpus all --cap-add=sys_nice -v $PWD:/work --rm -it mrc:latest /bin/bash
```

> **Note:**
> Users wishing to debug MRC in a Docker container should add the following to the `docker run` command:
> `--cap-add=SYS_PTRACE`
## Quickstart Guide

To quickly learn about both the C++ and Python MRC APIs, including following along with various complexity examples, we recommend following the MRC Quickstart Repository located [here](/docs/quickstart/README.md). This tutorial walks new users through topics like
Expand Down

0 comments on commit 9153243

Please sign in to comment.