Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Unnecessary --privileged Flag While Keeping It for WSL Users #12920

Merged
merged 1 commit into from
Mar 3, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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