[docs] add SYS_NICE cap & security-opt for docker/k8s (#24017)

Signed-off-by: Peter Pan <Peter.Pan@daocloud.io>
Signed-off-by: Peter Pan <peter.pan@daocloud.io>
Co-authored-by: Li, Jiang <bigpyj64@gmail.com>
Co-authored-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
This commit is contained in:
Peter Pan
2025-09-03 01:27:20 +08:00
committed by GitHub
parent e66ed3e675
commit 0e1759cd54
4 changed files with 40 additions and 0 deletions

View File

@@ -44,6 +44,7 @@ docker build -f docker/Dockerfile.cpu \
# Launching OpenAI server
docker run --rm \
--security-opt seccomp=unconfined \
--cap-add SYS_NICE \
--shm-size=4g \
-p 8000:8000 \
-e VLLM_CPU_KVCACHE_SPACE=<KV cache space> \