Init GPU Server
drawthingsai/draw-things-community
Initialize a Draw Things GPU server with GPUScript, including script sync, Docker/CUDA/NVIDIA runtime setup, 7T data disk mounting, mergerfs, and end-to-end GPU verification.
The Docker execution platform for TAO jobs — a local daemon or a remote GPU box via DOCKERHOST=ssh://user@host.
The automated check flagged lines worth reading first. See the safety section below.
$ npx skills add NVIDIA/skills --skill tao-run-on-docker -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install NVIDIA/skills tao-run-on-docker --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/NVIDIA/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/tao-run-on-docker .claude/skills/tao-run-on-docker && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "tao-run-on-docker" agent skill from https://github.com/NVIDIA/skills/tree/main/skills/tao-run-on-docker into .claude/skills/tao-run-on-docker/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tao-run-on-docker", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/NVIDIA/skills/tree/main/skills/tao-run-on-dockerType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add NVIDIA/skills --skill tao-run-on-docker -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install NVIDIA/skills tao-run-on-docker --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/NVIDIA/skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/tao-run-on-docker .agents/skills/tao-run-on-docker && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "tao-run-on-docker" agent skill from https://github.com/NVIDIA/skills/tree/main/skills/tao-run-on-docker into .agents/skills/tao-run-on-docker/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tao-run-on-docker", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add NVIDIA/skills --skill tao-run-on-docker -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install NVIDIA/skills tao-run-on-docker --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/NVIDIA/skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/tao-run-on-docker .cursor/skills/tao-run-on-docker && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "tao-run-on-docker" agent skill from https://github.com/NVIDIA/skills/tree/main/skills/tao-run-on-docker into .cursor/skills/tao-run-on-docker/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tao-run-on-docker", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/NVIDIA/skills.git --path skills/tao-run-on-docker--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add NVIDIA/skills --skill tao-run-on-docker -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install NVIDIA/skills tao-run-on-docker --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/NVIDIA/skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/tao-run-on-docker .gemini/skills/tao-run-on-docker && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "tao-run-on-docker" agent skill from https://github.com/NVIDIA/skills/tree/main/skills/tao-run-on-docker into .gemini/skills/tao-run-on-docker/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tao-run-on-docker", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install NVIDIA/skills tao-run-on-dockerInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add NVIDIA/skills --skill tao-run-on-docker -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/NVIDIA/skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/tao-run-on-docker .github/skills/tao-run-on-docker && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "tao-run-on-docker" agent skill from https://github.com/NVIDIA/skills/tree/main/skills/tao-run-on-docker into .github/skills/tao-run-on-docker/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tao-run-on-docker", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add NVIDIA/skills --skill tao-run-on-docker -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install NVIDIA/skills tao-run-on-docker --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/NVIDIA/skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/tao-run-on-docker .opencode/skills/tao-run-on-docker && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "tao-run-on-docker" agent skill from https://github.com/NVIDIA/skills/tree/main/skills/tao-run-on-docker into .opencode/skills/tao-run-on-docker/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tao-run-on-docker", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
tao-run-on-dockerThe Docker execution platform for TAO jobs — a local daemon or a remote GPU box via DOCKERHOST=ssh://user@host.
Tao Run On Docker is an agent skill from NVIDIA/skills, published by the product's own GitHub organization. The Docker execution platform for TAO jobs — a local daemon or a remote GPU box via DOCKERHOST=ssh://user@host. Implements the four-verb consumer contract (submit/status/logs/cancel) over the docker CLI, wired to the job-record, tao-data-io staging, and the redact lint, on top of the underlying docker conventions (--gpus, mounts, NGC auth, inspection, data-root relocation, error modes). Use to run any single-node TAO container action on Docker without the SDK. Trigger keywords — docker, docker run, run on docker…
Its SKILL.md is about 5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 10 other files, including reference files (for example `BENCHMARK.md`, `config/skillspector-baseline.yaml` and `evals/evals.json`). Compatibility notes: Requires NVIDIA driver 580 or newer, CUDA Toolkit 13.0 or newer, Docker, and NVIDIA Container Toolkit 1.19.0 or newer, unless the selected model declares…
It sits in DevOps & Cloud, covering Containers. It works with Docker, NVIDIA AI Platform and CUDA. The repository describes itself as: Agent Skills for NVIDIA products — install into Claude Code, Codex, and other coding agents to run Physical AI, robotics, simulation, CUDA, and RAG workflows end to end. The licence is Apache-2.0.
3 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit dfdd080. It shows what the files ask for, not the result of running them.
Pre-approves these tools, so the agent can use them without asking each time:
ReadBashFrom allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
dockerbashrsyncsshFrom the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
docs.docker.comngc.nvidia.comFrom URLs in SKILL.md, links to its own repository left out.
Names these keys or tokens, usually read from environment variables:
NGC_KEYHF_TOKENAWS_ACCESS_KEY_IDAWS_SECRET_ACCESS_KEYWANDB_API_KEYFrom names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Requires NVIDIA driver 580 or newer, CUDA Toolkit 13.0 or newer, Docker, and NVIDIA Container Toolkit 1.19.0 or newer, unless the selected model declares different minimums in runtime_requirements.gpu_host.
From compatibility in the SKILL.md frontmatter.
Tao Run On Docker loads about 5k tokens when it runs, and up to ~5.2k if it reads all its reference files. Until then it costs about 151 tokens; SKILL.md has 1,700 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found patterns that need a careful read before installing.
set -a; source /path/to/.env; set +a # omit if already exportedset -a; source /path/to/.env; set +a # omit if already exportedPersists in `~/.docker/config.json` across reboots. Re-run on `unauthorized` errors.set -a; source /path/to/.env; set +a # omit if already exportedtch in-container (tier C). Fallback for `sudo docker`-only hosts:set -a; source /path/to/.env; set +a # omit if already exportedsudo systemctl stop dockersudo mkdir -p <large_volume_path>/dockersudo rsync -aP /var/lib/docker/ <large_volume_path>/docker/sudo mv /var/lib/docker /var/lib/docker.oldAutomated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from NVIDIA/skills at commit dfdd080, republished under its Apache-2.0 licence (© NVIDIA). 1,700 words, ~4,967 tokens.
.claude/skills/tao-run-on-docker/SKILL.md (or your agent's skills folder). This skill also uses 7 other files; get the full folder from GitHub.Standalone install? If this session was not initialized by the TAO skill bank plugin, run the
tao-setupskill first (host preflight, credentials, cross-skill discovery).
The Docker execution platform: a consumer that runs a model/data skill's
spec-bundle by implementing four verbs (submit/status/logs/cancel) over
the docker CLI, on a local daemon or a remote GPU box via
DOCKER_HOST=ssh://. The verbs (§ Execution) sit on top of the docker
conventions in the rest of this file — GPU flags, mounts, NGC auth, inspection,
error modes — which are the how the model/data skill defers to. Single-node
only; for multi-node use SLURM or Kubernetes.
Sources: official Docker CLI reference (https://docs.docker.com/reference/cli/docker/) and NVIDIA Container Toolkit docs.
>=580, CUDA Toolkit >=13.0, and NVIDIA Container Toolkit >=1.19.0. If the selected model's references/skill_info.yaml declares runtime_requirements.gpu_host, pass those values to tao-setup-nvidia-gpu-host instead. Model requirements override the defaults for that workflow.docker --version must return ≥ 20.10. Install: https://docs.docker.com/engine/install/.nvcr.io/* pulls. Get from https://ngc.nvidia.com/.set -a; source /path/to/.env; set +a # omit if already exported
SB="${TAO_SKILL_BANK_PATH:-${TAO_SKILL_BANK_ROOT:-$PWD}}"
SETUP_SCRIPT="${SB}/skills/platform/tao-setup-nvidia-gpu-host/scripts/setup-nvidia-gpu-host.sh"
bash "$SETUP_SCRIPT" --backend docker --check-only || {
echo "MISSING: TAO GPU host runtime is not ready."
echo "After user approval, run (append --yes for non-interactive agent runs):"
echo " bash \"$SETUP_SCRIPT\" --backend docker --install"
exit 1
}
docker --version
docker run --rm --runtime=nvidia --gpus all ubuntu nvidia-smi
[ -n "$NGC_KEY" ] || echo "NGC_KEY unset — cannot pull nvcr.io images"If the selected model declares runtime_requirements.gpu_host, append the
corresponding --min-driver-version, --min-cuda-version, and
--min-container-toolkit-version values to both the check and any approved
install command. Do not apply one model's override to unrelated workflows.
set -a; source /path/to/.env; set +a # omit if already exported
echo "$NGC_KEY" | docker login nvcr.io -u '$oauthtoken' --password-stdinPersists in ~/.docker/config.json across reboots. Re-run on unauthorized errors.
Run a spec-bundle by implementing exactly these four verbs, mutating only the
job-record. Status values are the fixed vocabulary from tao-artifacts
(PENDING RUNNING COMPLETE ERROR CANCELED UNKNOWN); native docker states map
below, with the raw state carried in the transition message. $BANK =
${TAO_SKILL_BANK_PATH}.
tao-data-io: it picks the storage tier and returns the
mount args + compute-frame paths. Docker uses tier A (bind-mount a host
dir, -v /host/data:/data) as the norm, or tier C (pass S3 creds, the
container fetches). Author the spec file at <stage>/spec.yaml with those
compute-frame paths.redact_secrets.py lint must pass (no inline
secrets; pass creds as -e VAR with no value).results_dir BEFORE launch:JOB_ID=$("$BANK/scripts/tao_job_record.py" open \
--platform docker --image "$IMAGE" \
--network-arch "$ARCH" --action "$ACTION" \
--storage-tier "$TIER" --results-root "$RESULTS_ROOT")--rm OFF so an exited container stays inspectable):set -a; source /path/to/.env; set +a # omit if already exported
CID=$(docker run -d --name "$JOB_ID" --label "tao-job=$JOB_ID" \
--gpus "$GPUS" --shm-size=8g \
-v "$STAGE:/workspace" \
-e AWS_ACCESS_KEY_ID -e AWS_SECRET_ACCESS_KEY -e HF_TOKEN -e NGC_KEY \
"$IMAGE" <bundle command, reading /workspace/spec.yaml>)"$BANK/scripts/tao_job_record.py" mark "$JOB_ID" --state RUNNING --backend-ref "$CID".A submit that skipped step 3 has no id, so it cannot launch — that is the record-then-launch invariant.
read -r st code < <(docker inspect --format '{{.State.Status}} {{.State.ExitCode}}' "$JOB_ID" 2>/dev/null) || st=missing| docker state | vocab |
|---|---|
created / restarting | PENDING |
running / paused | RUNNING |
exited, code 0 | COMPLETE |
exited, code ≠ 0 | ERROR |
dead / missing | UNKNOWN (confirm via docker ps -a) |
On a terminal state, mark it — and for tier C, tao-data-io uploads
results before you docker rm (the container is the only copy).
docker logs --tail "${N:-200}" "$JOB_ID" # add -f to follow in-turndocker rm -f "$JOB_ID"
"$BANK/scripts/tao_job_record.py" mark "$JOB_ID" --state CANCELED --source agentThere is no separate "remote docker" — point the daemon at an SSH-reachable box:
export DOCKER_HOST=ssh://user@gpu-host. Every verb above is byte-identical;
the docker CLI marshals the request over SSH (reuses your key, avoids
nested-quoting the command). One consequence: -v bind-mount sources then refer
to the remote host's filesystem, not the launcher — stage data there (tier A)
or fetch in-container (tier C). Fallback for sudo docker-only hosts:
ssh host 'sudo docker …' (same skill, different prefix).
docker run — canonical flagsset -a; source /path/to/.env; set +a # omit if already exported
HOST_RESULTS=/host/results
HOST_UID="$(id -u)"
HOST_GID="$(id -g)"
HOST_USER_NAME="$(id -un)"
[ "$HOST_UID" -ne 0 ] || { echo "Refusing writable Docker launch as UID 0" >&2; exit 1; }
HOST_IDENTITY_ARGS=(--user "$HOST_UID:$HOST_GID")
for group_id in $(id -G); do
[ "$group_id" = "$HOST_GID" ] || HOST_IDENTITY_ARGS+=(--group-add "$group_id")
done
mkdir -p "$HOST_RESULTS/.tao-runtime/home/.cache"/{huggingface,torch,triton,torchinductor,matplotlib}
docker run \
--gpus all \
--rm \
--shm-size=8g \
"${HOST_IDENTITY_ARGS[@]}" \
-v /host/data:/data \
-v "$HOST_RESULTS:/results" \
-e HOME=/results/.tao-runtime/home \
-e USER="$HOST_USER_NAME" -e LOGNAME="$HOST_USER_NAME" \
-e XDG_CACHE_HOME=/results/.tao-runtime/home/.cache \
-e HF_HOME=/results/.tao-runtime/home/.cache/huggingface \
-e TORCH_HOME=/results/.tao-runtime/home/.cache/torch \
-e TRITON_CACHE_DIR=/results/.tao-runtime/home/.cache/triton \
-e TORCHINDUCTOR_CACHE_DIR=/results/.tao-runtime/home/.cache/torchinductor \
-e MPLCONFIGDIR=/results/.tao-runtime/home/.cache/matplotlib \
-e HF_TOKEN -e NGC_KEY \
<image> \
<command>Notes:
--gpus '"device=0,1"' — select GPUs by id, not by count, on any shared host (double-quote-escaped). A count-based request resolves to the first N devices, so --gpus 1 can only ever land on GPU 0: if GPU 0 is busy, every job OOMs there while the other GPUs sit idle, and there is no way to steer it — -e NVIDIA_VISIBLE_DEVICES is overwritten by --gpus. Read current occupancy (nvidia-smi --query-gpu=index,memory.used --format=csv) and pass the free ids. Ids may also be GPU UUIDs. Without nvidia-container-toolkit: could not select device driver "" with capabilities: [[gpu]].--rm — clean up the container at exit; omit when you want docker logs after exit.--shm-size=8g — torchrun + PyTorch DataLoaders exhaust the default 64 MB /dev/shm otherwise; size it for multi-GPU training and raise (e.g. 16g) if you still hit Bus error.--user "$(id -u):$(id -g)" — required by default whenever a bind mount is writable. It prevents root-owned checkpoint trees that the submitting host user cannot clean up.0 for the canonical writable-bind path. If the launcher itself is root, obtain the verified non-root submitting UID:GID explicitly; never infer it from the output-directory owner.--group-add <gid> — preserve supplementary host-group access to shared datasets and workspaces. The canonical array adds every host group except the primary GID.HOME, USER, LOGNAME, and cache redirects — keep frameworks from writing to image-owned locations such as /root after the user override. Prepare these directories on the writable mount before launch. USER/LOGNAME are load-bearing, not cosmetic: an arbitrary --user UID has no /etc/passwd entry in the image, and torch 2.x calls getpass.getuser() at import (torch/_dynamo → inductor cache-dir setup) — with neither env var set the container crashes with KeyError: 'getpwuid(): uid not found: <uid>' before any workload code runs. Any non-empty name satisfies it; the name does not need to exist in the image.-v host:container — bind mount; the command references container paths only.-e VAR — passthrough from parent shell (no value needed if already set). Use this form for secrets.docker run --name X fails if a container named X already exists. Defensive pattern before reusing a name:
docker stop my-worker 2>/dev/null; docker rm my-worker 2>/dev/null
docker run --name my-worker ...For multi-step workflows on the same container (download → run → post-process), avoid restart cost:
HOST_RESULTS=/host/results
HOST_UID="$(id -u)"
HOST_GID="$(id -g)"
[ "$HOST_UID" -ne 0 ] || { echo "Refusing writable Docker launch as UID 0" >&2; exit 1; }
HOST_IDENTITY_ARGS=(--user "$HOST_UID:$HOST_GID")
for group_id in $(id -G); do
[ "$group_id" = "$HOST_GID" ] || HOST_IDENTITY_ARGS+=(--group-add "$group_id")
done
mkdir -p "$HOST_RESULTS/.tao-runtime/home/.cache"/{huggingface,torch,triton,torchinductor,matplotlib}
docker run -d --name <worker> \
--gpus all --shm-size=8g \
"${HOST_IDENTITY_ARGS[@]}" \
-v <host-data>:/data \
-v "$HOST_RESULTS:/results" \
-e HOME=/results/.tao-runtime/home \
-e USER="$(id -un)" -e LOGNAME="$(id -un)" \
-e XDG_CACHE_HOME=/results/.tao-runtime/home/.cache \
-e HF_HOME=/results/.tao-runtime/home/.cache/huggingface \
-e TORCH_HOME=/results/.tao-runtime/home/.cache/torch \
-e TRITON_CACHE_DIR=/results/.tao-runtime/home/.cache/triton \
-e TORCHINDUCTOR_CACHE_DIR=/results/.tao-runtime/home/.cache/torchinductor \
-e MPLCONFIGDIR=/results/.tao-runtime/home/.cache/matplotlib \
--entrypoint sh \
<image> -c "tail -f /dev/null"
docker exec <worker> <step_1>
docker exec <worker> <step_2>
docker stop <worker> && docker rm <worker>docker image inspect <image> >/dev/null 2>&1 || docker pull <image>Tag containers for filtered listing later:
docker run --label tao-toolkit ...
docker ps --filter 'label=tao-toolkit'The container expects its data at conventional paths defined by the image (often /data, /results, /workspace/checkpoints). The host side is arbitrary. The command inside docker run references container paths only.
For every writable bind mount, run as the submitting host UID:GID by default.
Pre-creating the mount root is not sufficient when a root container can create
deeper 0755 directories: deletion is controlled by the parent-directory
permissions, so those subtrees still become inaccessible to the host user.
Container --rm and docker rm remove container state only; neither deletes or
repairs bind-mounted checkpoints.
An image may run as root only when its documentation or a preflight proves that
host-user execution is incompatible. Treat this as an explicit launch
exception. Isolate its writable outputs and, after every terminal exit or
cancellation, normalize ownership before another experiment starts. For an
image with /bin/sh and chown, the post-run repair is:
HOST_UID="$(id -u)"
HOST_GID="$(id -g)"
docker run --rm --user 0:0 --entrypoint /bin/sh \
-v /host/results:/owned-output \
<same-approved-image> \
-c 'chown -R "$1:$2" /owned-output' sh "$HOST_UID" "$HOST_GID"Apply the repair to every writable output/cache mount. If the agent cannot run
or verify the ownership normalization, it must not use the root-required
exception. Never substitute chmod 777 as the normal fix.
Common passthrough vars for TAO-style workloads (the calling skill declares which it needs):
NGC_KEY — nvcr.io pulls; some runtimes also read at runtimeHF_TOKEN — gated HuggingFace model downloadsAWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_ENDPOINT_URL — S3 I/O inside the containerWANDB_API_KEY — optional W&B loggingUse -e VAR (no =value) when the var is in the parent shell. Avoid placing secrets on the command line.
Alternative GPU selection: -e NVIDIA_VISIBLE_DEVICES=0,1 (or all) and -e NVIDIA_DRIVER_CAPABILITIES=all instead of --gpus. The --gpus flag is preferred on standard x86 hosts; the env-var form is older and is what runtime=nvidia (Tegra/Jetson) requires.
docker ps # running containers only
docker ps -a # all containers, including exited
docker ps --filter status=running --format '{{.Names}} {{.Image}}'
docker logs <name_or_id> # stdout/stderr
docker logs -f <name_or_id> # follow (tail -f equivalent)
docker logs --tail 100 <name_or_id> # last N lines
docker inspect <name_or_id> # full config, mounts, env, network, state (JSON)
docker inspect --format '{{.State.Status}}' <name_or_id>
docker stats # live CPU/mem/network/block I/O
docker stats --no-stream # one snapshot, non-interactivedocker inspect is the canonical source of truth for a container's mounts, env, cmd, network, and exit code. Use it to debug why a container isn't behaving as expected.
docker pull <image>
docker image ls
docker system df # Docker-managed image/layer/volume usagePull once per host; docker run reuses cached image. NVIDIA images are typically 5-40GB.
Some cloud GPU providers ship with a small root volume + larger ephemeral. Docker writes to /var/lib/docker on root by default — large images fill it. Check:
df -h / # root volume size/free
lsblk # all block devices and mount pointsIf / is smaller than your total image footprint and there's a larger disk mounted elsewhere, relocate before pulling images:
sudo systemctl stop docker
sudo mkdir -p <large_volume_path>/docker
sudo rsync -aP /var/lib/docker/ <large_volume_path>/docker/
sudo mv /var/lib/docker /var/lib/docker.old
sudo tee /etc/docker/daemon.json <<'EOF'
{ "data-root": "<large_volume_path>/docker" }
EOF
sudo systemctl start docker
docker info | grep 'Docker Root Dir'
sudo rm -rf /var/lib/docker.oldFor microservice containers that talk to each other by name, create a docker network and attach containers:
docker network create tao-net
docker run --network tao-net --name api ...
docker run --network tao-net --name worker ... # can resolve `api` by nameMost TAO training workloads don't need this — single container per job.
could not select device driver "" with capabilities: [[gpu]] — NVIDIA Container Toolkit missing or Docker is not configured for the NVIDIA runtime. Run tao-setup-nvidia-gpu-host with --backend docker --install after user approval (append --yes for a non-interactive agent run), then restart Docker.
unauthorized: authentication required on docker pull — NGC key invalid/missing. Re-run docker login nvcr.io.
no space left on device — first identify which filesystem and storage
class is full; bind-mounted training outputs are not counted by docker system df and are not fixed by pruning Docker images:
df -h / /var/lib/docker <results_root>
docker system df
docker inspect <tao-container> --format '{{json .Mounts}}'
du -xhd1 <results_root> 2>/dev/null | sort -h
find <results_root> -maxdepth 3 -printf '%u:%g %m %s %p\n' 2>/dev/null | headFor a bind mount, clean only job directories whose record is in a terminal state
(tao_job_record.py get "$JOB_ID"), via a reviewed ownership repair; never assume
docker system prune touches them. For Docker's own root, relocate data-root as described
above. docker system prune -a --volumes is destructive and may remove unused
images and volumes belonging to other workflows, so run it only after explicit
user approval and a reviewed docker system df inventory.
Bus error / DataLoader worker exited unexpectedly — /dev/shm too small. Increase shared memory with --shm-size (e.g. --shm-size=16g).
permission denied on bind-mounted paths — container UID ≠ host UID, or HOME/a framework cache still points to an image-owned directory. Use the canonical host UID:GID mapping and writable HOME/cache redirects above. For a documented root-required image, complete the mandatory post-run ownership normalization before retrying.
KeyError: 'getpwuid(): uid not found: <uid>' at import of torch/torchvision — the container runs as a --user UID with no /etc/passwd entry and no USER/LOGNAME env var, so getpass.getuser() falls through to pwd.getpwuid() at import time. -e HOME=... alone does not fix it. Keep the UID:GID mapping and launch with the canonical identity env block (-e USER=... -e LOGNAME=... + writable HOME + cache redirects). Do not work around it by running as root; that recreates the root-owned-outputs hazard.
Error: No such container: <name> after docker run -d — container crashed on startup. docker ps -a shows exited; docker logs <name> for cause. Drop --rm while debugging.
This skill both runs TAO jobs on Docker (§ Execution) and documents the docker how that other skills defer to. Related:
tao-skill-bank:tao-run-on-brev — provisions a Brev instance, then defers the
container-how to these same docker verbs.tao-skill-bank:tao-launch-workflow — the intake/routing front door and the
platform-agnostic four-verb contract this skill implements.tao-skill-bank:tao-data-io — the storage-tier decision + staging + the
compute-frame verify gate the submit verb calls.Model and data skills produce the spec-bundle (what); this skill runs it (how).
© NVIDIA, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 7 other files (references) in skills/tao-run-on-docker of NVIDIA/skills.
Open the folder on GitHubat commit dfdd080
Tao Run On Docker next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Tao Run On Docker this skillNVIDIA/skills | 3.5k | — | ~5k | Automated safety check: Warn | Apache-2.0 | |
| Init GPU Serverdrawthingsai/draw-things-community | 582 | — | ~2.2k | Automated safety check: Pass | GPL-3.0 | |
| Vllm Deploy Dockervllm-project/vllm-skills | 103 | — | ~2.5k | Automated safety check: Notes | Apache-2.0 | |
| Generate Nemo Gym Envadithya-s-k/FineEnvs | 456 | — | ~2.1k | Automated safety check: Pass | Apache-2.0 | |
| Cosmos3 Env TroubleshootNVIDIA/cosmos-framework | 559 | — | ~1.3k | Automated safety check: Notes | Custom licence | |
| Setup Workshopbrevdev/workshop-build-an-agent | 146 | — | ~2.3k | Automated safety check: Notes | Apache-2.0 |
drawthingsai/draw-things-community
Initialize a Draw Things GPU server with GPUScript, including script sync, Docker/CUDA/NVIDIA runtime setup, 7T data disk mounting, mergerfs, and end-to-end GPU verification.
vllm-project/vllm-skills
Deploy vLLM using Docker (pre-built images or build-from-source) with NVIDIA GPU support and run the OpenAI-compatible server.
adithya-s-k/FineEnvs
Builds a NeMo Gym (NVIDIA) variant of an RL environment. An agent skill from adithya-s-k/FineEnvs.
NVIDIA/cosmos-framework
Diagnose and fix Cosmos3 environment, installation, and runtime errors.
brevdev/workshop-build-an-agent
This skill should be used when the user wants to set up, install, deploy, bootstrap, or "spin up" the Build-an-Agent workshop (a.k.a.
radixark/miles_diffusion
Fallback installer for milesdiffusion on a bare CUDA 12.9 Linux GPU box, reproducing the official radixark/milesdiffusion image's package versions and verifying them.
NVIDIA/skills
A skill your agent uses when the user wants to deploy, run, debug, tear down, or call the REST API of the RTVI-CV 2D detection / tracking microservice.
NVIDIA/skills
Generates, validates, compares and explains HOLOLINK_def.svh macro files for the HSB IP, using bundled Python scripts and asking before it writes anything.
NVIDIA/skills
Runs and validates an end-to-end Mission Control demo in a locally installed Isaac Sim, with a Nova Carter robot driven through a Python server.
NVIDIA/skills
Orchestrates defect image generation for PCBA, metal surface and glass inspection with NVIDIA Cosmos AnomalyGen on OSMO, from cold-start Day 0 to real-photo Day 1 labeling.
NVIDIA/skills
Orchestrates video data augmentation and auto-labeling workflows on OSMO, from flow selection and preflight checks to submission, monitoring and output download.
NVIDIA/skills
Runs NVIDIA TAO Data Services KPI analysis on object detection results, comparing predictions to ground truth and writing per-class precision, recall and AP to a CSV.
Works with
Categories
The Docker execution platform for TAO jobs — a local daemon or a remote GPU box via DOCKERHOST=ssh://user@host. Tao Run On Docker is an agent skill from NVIDIA/skills, published by the product's own GitHub organization. The Docker execution platform for TAO jobs — a local daemon or a remote GPU box via DOCKERHOST=ssh://user@host.
Tao Run On Docker fits situations like: run any single-node TAO container action on Docker without the SDK; keywords — docker; single-node GPU job.
Run `npx skills add NVIDIA/skills --skill tao-run-on-docker -a claude-code`. Or copy the skill folder (skills/tao-run-on-docker in NVIDIA/skills) into .claude/skills/tao-run-on-docker in your project. Claude Code loads it when a task matches its description.
Run `npx skills add NVIDIA/skills --skill tao-run-on-docker -a codex`. Or copy the skill folder (skills/tao-run-on-docker in NVIDIA/skills) into .agents/skills/tao-run-on-docker in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add NVIDIA/skills --skill tao-run-on-docker -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/tao-run-on-docker, .gemini/skills/tao-run-on-docker, .github/skills/tao-run-on-docker and .opencode/skills/tao-run-on-docker in your project.
Going by SKILL.md and its folder, Tao Run On Docker needs the command-line tools its instructions call (docker, bash, rsync and ssh) and credentials named NGC_KEY, HF_TOKEN, AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY. Our summary lists: Docker; A credential in NGC_KEY; A credential in AWS_SECRET_ACCESS_KEY. Its frontmatter pre-approves these tools: Read, Bash. Compatibility (from SKILL.md): Requires NVIDIA driver 580 or newer, CUDA Toolkit 13.0 or newer, Docker, and NVIDIA Container Toolkit 1.19.0 or newer, unless the selected model declares different minimums in runtime_requirements.gpu_host..
SKILL.md names 2 domains. As links in the text: docs.docker.com and ngc.nvidia.com. This is read from the text; nothing was executed.
Our automated static check of SKILL.md flagged 1 warning(s): mentions a credentials file (ssh keys, cloud or package-manager tokens). Read the flagged lines before installing; the check is not a guarantee either way.
Tao Run On Docker is published under the Apache-2.0 licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 5k tokens (SKILL.md is roughly 20k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 218 tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Tao Run On Docker: Init GPU Server (drawthingsai/draw-things-community, 582 stars), Vllm Deploy Docker (vllm-project/vllm-skills, 103 stars), Generate Nemo Gym Env (adithya-s-k/FineEnvs, 456 stars) and Cosmos3 Env Troubleshoot (NVIDIA/cosmos-framework, 559 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
NVIDIA (a GitHub organization, an official publisher) maintains it in NVIDIA/skills, which has 3,546 GitHub stars. The repository holds 386 skills in this directory. The repository was last updated on October 9, 2026.
Source: NVIDIA/skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.