Skip to content

Transforms complex documents like PDFs and Office docs into LLM-ready markdown/JSON for your Agentic workflows.

docs: update README files with Docker run command for GPU support

myhlolif51c1acc04f0
diff --git a/README.md b/README.md
index 81250d1d..fdbf5e26 100644
--- a/README.md
+++ b/README.md
@@ -513,6 +513,12 @@ If you need to use **sglang to accelerate VLM model inference**, you can choose
```bash
wget https://gcore.jsdelivr.net/gh/opendatalab/MinerU@master/docker/global/Dockerfile
docker build -t mineru-sglang:latest -f Dockerfile .
+ docker run --gpus all \
+ --shm-size 32g \
+ -p 30000:30000 \
+ --ipc=host \
+ mineru-sglang:latest \
+ mineru-sglang-server --host 0.0.0.0 --port 30000
```
> [!TIP]
diff --git a/README_zh-CN.md b/README_zh-CN.md
index 67872243..8f4a9924 100644
--- a/README_zh-CN.md
+++ b/README_zh-CN.md
@@ -503,6 +503,12 @@ uv pip install -e .[core] -i https://mirrors.aliyun.com/pypi/simple
```bash
wget https://gcore.jsdelivr.net/gh/opendatalab/MinerU@master/docker/china/Dockerfile
docker build -t mineru-sglang:latest -f Dockerfile .
+ docker run --gpus all \
+ --shm-size 32g \
+ -p 30000:30000 \
+ --ipc=host \
+ mineru-sglang:latest \
+ mineru-sglang-server --host 0.0.0.0 --port 30000
```
> [!TIP]