diff --git a/README.md b/README.md index 102e5405..c17b5c2b 100644 --- a/README.md +++ b/README.md @@ -187,7 +187,7 @@ The following instructions showcase building the Docker image and full example s - `$ git clone https://github.com/ROCm/rocm-examples.git` - `$ cd rocm-examples/Dockerfiles` -- `$ docker build . -t rocm-examples -f hip-libraries-rocm-ubuntu.Dockerfile` (on ROCm) or `$ docker build . -t rocm-examples -f hip-libraries-cuda-ubuntu.Dockerfile` (on CUDA) +- `$ docker build . -t rocm-examples -f hip-libraries-rocm-ubuntu.Dockerfile --build-arg GID="$(getent group render | cut -d':' -f 3)"` (on ROCm) or `$ docker build . -t rocm-examples -f hip-libraries-cuda-ubuntu.Dockerfile` (on CUDA) - `$ docker run -it --device /dev/kfd --device /dev/dri rocm-examples bash` (on ROCm) or `$ docker run -it --gpus=all rocm-examples bash` (on CUDA) - `# git clone https://github.com/ROCm/rocm-examples.git` - `# cd rocm-examples`