docs: runnable demo walkthrough + README quickstart - #7
Merged
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 throwawayregistry:2— builds cu128/cu126/null variants of a runnable hello image (each container prints which variant it is), publishes withvariant push, showsinspect/detect/listunder 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 throughvariant-proxyusing nothing but plaindocker push.--keepleaves the registry/proxy up for exploration.demo/profiles/*.json: ready-made hardware profiles for--properties-fileexperimentation.make build/make install-plugin: installs the binary into~/.docker/cli-plugins/for the nativedocker variant ...UX.Verification
Ran
./demo/run-demo.shend-to-end: both direct and proxied pulls select the expected variant and the containers print the matching message.https://claude.ai/code/session_01D383U8kkQkJc1yzyC5H5Nk