docs: add local-dev tag to devcontainer build command (#7484)

This commit is contained in:
Karen Chung 2026-03-17 17:51:44 -07:00 committed by GitHub
parent 8cb9587d2e
commit 8bee4ac8de
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 4 deletions

View File

@ -146,9 +146,9 @@ Build the appropriate framework image (e.g., `dynamo:latest-vllm-local-dev`) fro
# Single command approach (recommended)
export FRAMEWORK=vllm # Note: any of vllm, sglang, trtllm can be used
python container/render.py --framework=${FRAMEWORK} --target=local-dev --output-short-filename
docker build --build-arg USER_UID=$(id -u) --build-arg USER_GID=$(id -g) -f container/rendered.Dockerfile .
docker build --build-arg USER_UID=$(id -u) --build-arg USER_GID=$(id -g) -t dynamo:latest-${FRAMEWORK}-local-dev -f container/rendered.Dockerfile .
# Now you've created both dynamo:latest-vllm and dynamo:latest-vllm-local-dev
# Now you've created dynamo:latest-vllm-local-dev
```
The local-dev image will give you local user permissions matching your host user and includes extra developer utilities (debugging tools, text editors, system monitors, etc.).
@ -417,9 +417,9 @@ If you see errors like "container is not running" or "An error occurred setting
docker images | grep dynamo
# If missing, build the dev image first, then build local-dev
export FRAMEWORK=VLLM # Replace with VLLM, SGLANG, or TRTLLM
export FRAMEWORK=vllm # Replace with vllm, sglang, or trtllm
python container/render.py --framework=${FRAMEWORK} --target=local-dev --output-short-filename
docker build --build-arg USER_UID=$(id -u) --build-arg USER_GID=$(id -g) -f container/rendered.Dockerfile .
docker build --build-arg USER_UID=$(id -u) --build-arg USER_GID=$(id -g) -t dynamo:latest-${FRAMEWORK}-local-dev -f container/rendered.Dockerfile .
```
2. **Container startup failure:**