Skip to content

Commit

Permalink
Remove Unnecessary --privileged Flag While Keeping It for WSL Users (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
liu-shaojun authored Mar 3, 2025
1 parent 7810b8f commit f81d89d
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 5 deletions.
1 change: 0 additions & 1 deletion docker/llm/README_backup.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ export CONTAINER_NAME=my_container
export MODEL_PATH=/llm/models[change to your model path]

docker run -itd \
--privileged \
-p 12345:12345 \
--cpuset-cpus="0-47" \
--cpuset-mems="0" \
Expand Down
1 change: 0 additions & 1 deletion docker/llm/inference-cpp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,6 @@ docker rm -f $CONTAINER_NAME
docker run -itd \
-v open-webui:/app/backend/data \
-e PORT=8080 \
--privileged \
--network=host \
--name $CONTAINER_NAME \
--restart always $DOCKER_IMAGE
Expand Down
1 change: 0 additions & 1 deletion docs/mddocs/DockerGuides/docker_cpp_xpu_quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,6 @@ docker rm -f $CONTAINER_NAME
docker run -itd \
-v open-webui:/app/backend/data \
-e PORT=8080 \
--privileged \
--network=host \
--name $CONTAINER_NAME \
--restart always $DOCKER_IMAGE
Expand Down
2 changes: 1 addition & 1 deletion docs/mddocs/DockerGuides/vllm_docker_quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ docker pull intelanalytics/ipex-llm-serving-xpu:latest
export DOCKER_IMAGE=intelanalytics/ipex-llm-serving-xpu:latest
export CONTAINER_NAME=ipex-llm-serving-xpu-container
sudo docker run -itd \
--privileged \
--net=host \
--group-add video \
--device=/dev/dri \
-v /path/to/models:/llm/models \
-e no_proxy=localhost,127.0.0.1 \
Expand Down
2 changes: 1 addition & 1 deletion python/llm/dev/benchmark/ceval/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ python eval.py \
2. **Start Docker Container**:
```bash
docker run -td \
--privileged \
--net=host \
--group-add video \
--device=/dev/dri \
--name=$CONTAINER_NAME \
-v /home/intel/LLM:/llm/models/ \
Expand Down

0 comments on commit f81d89d

Please sign in to comment.