Skip to content

docs: runnable demo walkthrough + README quickstart - #7

Merged
achimnol merged 1 commit into
topic/proxyfrom
topic/demo
Aug 9, 2026
Merged

docs: runnable demo walkthrough + README quickstart#7
achimnol merged 1 commit into
topic/proxyfrom
topic/demo

Conversation

@achimnol

Copy link
Copy Markdown
Member

Summary

Stacked PR 7/7 (base: #6). The "see it work" layer requested for easy verification:

  • make demo (demo/run-demo.sh): colorized walkthrough on a throwaway registry:2 — builds cu128/cu126/null variants of a runnable hello image (each container prints which variant it is), publishes with variant push, shows inspect/detect/list under three mocked hardware profiles, pulls as a CUDA-12.8 machine and again as a CPU-only machine to watch the selection flip, then repeats the flow through variant-proxy using nothing but plain docker push. --keep leaves the registry/proxy up for exploration.
  • demo/profiles/*.json: ready-made hardware profiles for --properties-file experimentation.
  • make build / make install-plugin: installs the binary into ~/.docker/cli-plugins/ for the native docker variant ... UX.
  • README: rewritten — PEP 817 → Docker/OCI concept mapping, command table, the two registry deployment modes, quickstart, roadmap.

Verification

Ran ./demo/run-demo.sh end-to-end: both direct and proxied pulls select the expected variant and the containers print the matching message.

https://claude.ai/code/session_01D383U8kkQkJc1yzyC5H5Nk

demo/run-demo.sh walks the whole story against throwaway local
containers: build three labeled variants of a runnable hello image,
publish with `variant push`, show the index artifact and per-profile
rankings, pull under mocked CUDA-12.8 and CPU-only profiles (the
container prints which variant it is), then repeat via variant-proxy
with plain `docker push` only. Profiles live in demo/profiles/ and
double as ready-made --properties-file inputs.

Makefile gains build / install-plugin / demo targets; README is
rewritten with the concept mapping, command table, registry deployment
modes, and quickstart.

Claude-Session: https://claude.ai/code/session_01D383U8kkQkJc1yzyC5H5Nk
@achimnol
achimnol merged commit ece2e9d into main Aug 9, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant