diff --git a/documentation/docs/Organizers/Running_a_benchmark/Compute-worker-installation-with-Podman.md b/documentation/docs/Organizers/Running_a_benchmark/Compute-worker-installation-with-Podman.md index 26dab2591..6e2729157 100644 --- a/documentation/docs/Organizers/Running_a_benchmark/Compute-worker-installation-with-Podman.md +++ b/documentation/docs/Organizers/Running_a_benchmark/Compute-worker-installation-with-Podman.md @@ -85,9 +85,10 @@ USE_GPU=True !!! note Starting from `codalab/competitions-v2-compute-worker:v1.22` the images are now unifed for Podman and Docker CPU/GPU and has been renamed to `codalab/codabench-compute-worker:latest` -Run the compute worker container : -```bash +Create a `run_podman.sh` file with the following content: + +```bash title="run_podman.sh" podman run -d \ --volume /run/user/$(id -u)/podman/podman.sock:/run/user/1000/podman/podman.sock:U \ --env-file .env \ @@ -103,6 +104,18 @@ podman run -d \ codalab/codabench-compute-worker:latest ``` +Then run the command : + +```bash +chmod +x run_podman.sh +``` + +And start the compute worker container : + +```bash +./run_podman.sh +``` + !!! warning To launch a Podman compatible GPU worker, you will need to have podman version 5.4.2 minimum