"benchmarks/vscode:/vscode.git/clone" did not exist on "6cb76b967a58cd53c2250bf46a22f59c533ecec3"
Unverified Commit 8bee4ac8 authored by Karen Chung's avatar Karen Chung Committed by GitHub
Browse files

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

parent 8cb9587d
...@@ -146,9 +146,9 @@ Build the appropriate framework image (e.g., `dynamo:latest-vllm-local-dev`) fro ...@@ -146,9 +146,9 @@ Build the appropriate framework image (e.g., `dynamo:latest-vllm-local-dev`) fro
# Single command approach (recommended) # Single command approach (recommended)
export FRAMEWORK=vllm # Note: any of vllm, sglang, trtllm can be used export FRAMEWORK=vllm # Note: any of vllm, sglang, trtllm can be used
python container/render.py --framework=${FRAMEWORK} --target=local-dev --output-short-filename 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.). 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 ...@@ -417,9 +417,9 @@ If you see errors like "container is not running" or "An error occurred setting
docker images | grep dynamo docker images | grep dynamo
# If missing, build the dev image first, then build local-dev # 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 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:** 2. **Container startup failure:**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment