Optional authentication flags for Docker client#13
Open
oh6hay wants to merge 2 commits intoJille:masterfrom
Open
Optional authentication flags for Docker client#13oh6hay wants to merge 2 commits intoJille:masterfrom
oh6hay wants to merge 2 commits intoJille:masterfrom
Conversation
Owner
|
Nice, I was hoping to get to registry authentication. Would it be possible to load the credentials from the user's docker config file? |
Contributor
Author
That's a good idea, I'll look into it. TIL about the config file. In case the auth string exists for the repository being contacted, I think it should be used by default, so there would be no need for the user and pass flags, what do you think? |
Owner
|
That'd be great indeed! Thanks! |
Contributor
Author
|
hi there! just a few FYI :)
I filed a PR with a new ‘check’ command — also found out it’s fairly simple to run dockpin if it’s built into a docker container, see: https://github.com/oh6hay/dockpin/blob/master/tool.sh
if you feel this info would be useful in your repository, feel free to add to your documentation or alternatively I can try to create a PR on the documents as well.
I made the check command with CI in mind so it would be possible to raise a flag in a CI pipeline if pinned Docker dependencies would have an update available. In this case though one would need a downloadable docker image though (I made one https://hub.docker.com/r/oh2osq/dockpin ) (i’m not a CI expert but it seems many CI actions work by defining a docker image and provide arguments to run it with)
all the best
Osku.
…Sent from my iPad
On 4. Mar 2022, at 10.53, Jille Timmermans ***@***.***> wrote:
That'd be great indeed! Thanks!
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you authored the thread.
|
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.
Some docker registries require authentication
With authentication:
or