Repository navigation
docs: add a Docker path with a switch to the quick start - #43
Merged
Merged
Conversation
The quick start only walked through npm. It now has a switch between npm and Docker on the two steps that differ: the proxy and group to create, and the client commands. The choice is shared by both switches on the page, remembered in the browser, and can be linked as ?client=docker. The switch is a small component of the docs theme, so the site gets no new dependency. The Docker steps were run against a server started from the compose file of the page: login, a pull through a group that proxies Docker Hub, a push to a hosted repository and a pull of it through the group, and anonymous pulls with Force Basic Authentication on and off. That check corrected the docs in three places. Anonymous pulls depend on Force Basic Authentication, which is set by default, not on the Docker Bearer Token Realm, which is off by default and only changes the challenge from Basic to bearer tokens. The image is built for linux/amd64 only, so on an ARM machine the quick start stops with "no matching manifest for linux/arm64/v8" unless the service asks for that platform. Both are now written down on the pages they belong to.
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.
The quick start only walked through npm. It now has a switch between npm and Docker on the two steps
that differ: the proxy and group to create, and the client commands. The choice is shared by both
switches on the page, remembered in the browser, and can be linked as ?client=docker. The switch is a
small component of the docs theme, so the site gets no new dependency.
The Docker steps were run against a server started from the compose file of the page: login, a pull
through a group that proxies Docker Hub, a push to a hosted repository and a pull of it through the
group, and anonymous pulls with Force Basic Authentication on and off.
That check corrected the docs in three places. Anonymous pulls depend on Force Basic Authentication,
which is set by default, not on the Docker Bearer Token Realm, which is off by default and only changes
the challenge from Basic to bearer tokens. The image is built for linux/amd64 only, so on an ARM
machine the quick start stops with "no matching manifest for linux/arm64/v8" unless the service asks
for that platform. Both are now written down on the pages they belong to.