Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add description for "dockerRegistryMirror" key #2488

Merged
merged 2 commits into from
Apr 21, 2023
Merged

Conversation

kalined
Copy link
Contributor

@kalined kalined commented Apr 6, 2023

More detailed explanation added. It should help users to avoid issues with the docker container.

In case a user accidentally specifies a registry without HTTP(S) protocol it could cause an issue:

Runner container log:

Cannot connect to the Docker daemon at tcp://localhost:2376. Is the docker daemon running?

Docker container log:

Status: invalid argument "private-registry.example.net" for "--registry-mirror" flag: invalid mirror: unsupported scheme "" in "private-registry.example.net"
See 'dockerd --help'., Code: 125

More detailed explanation added. It should help users to avoid issues with the docker container.

In case a user accidentally specifies a registry without HTTP(S) protocol it could cause an issue: 

Runner container log:

Cannot connect to the Docker daemon at tcp://localhost:2376. Is the docker daemon running?

Docker container log:

Status: invalid argument "private-registry.example.net" for "--registry-mirror" flag: invalid mirror: unsupported scheme "" in "private-registry.example.net"
See 'dockerd --help'., Code: 125
@Link- Link- added the community Community contribution label Apr 6, 2023
@Link- Link- added the needs triage Requires review from the maintainers label Apr 17, 2023
Copy link
Collaborator

@mumoshu mumoshu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thank you very much for your contribution @EdgeSan!

@mumoshu mumoshu merged commit 2ee15db into actions:master Apr 21, 2023
10 checks passed
@kalined kalined deleted the patch-1 branch April 21, 2023 08:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community Community contribution needs triage Requires review from the maintainers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants