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

fix: allow single domain registry such as localhost:5000 #3468

Merged
merged 1 commit into from Aug 10, 2023

Conversation

cdrage
Copy link
Contributor

@cdrage cdrage commented Aug 9, 2023

fix: allow single domain registry such as localhost:5000

What does this PR do?

Allows you to add a registry such as "localhost:5000" for testing
purposes, or domains without an LTD.

You are able to do this through the podman/docker CLI, but not through
podman desktop.

Screenshot/screencast of this PR

You'll now get an error for login / be able to actually add the registry instead of a format error.

Screenshot 2023-08-09 at 11 10 01 AM

What issues does this PR fix or reference?

Closes #3457

One of the fixes towards completing #3252

How to test this PR?

  1. Add a test registry such as "localhost:5000"
  2. You'll now get an error for login instead of 'The format of the
    Registry Location is incorrect'

Signed-off-by: Charlie Drage charlie@charliedrage.com

### What does this PR do?

Allows you to add a registry such as "localhost:5000" for testing
purposes, or domains without an LTD.

You are able to do this through the podman/docker CLI, but not through
podman desktop.

### Screenshot/screencast of this PR

### What issues does this PR fix or reference?

Closes containers#3457

One of the fixes towards completing containers#3252

### How to test this PR?

1. Add a test registry such as "localhost:5000"
2. You'll now get an error for login instead of 'The format of the
   Registry Location is incorrect'

<!-- Please explain steps to reproduce -->

Signed-off-by: Charlie Drage <charlie@charliedrage.com>
@cdrage cdrage requested review from benoitf and a team as code owners August 9, 2023 15:38
@cdrage cdrage requested review from dgolovin and jeffmaury and removed request for a team August 9, 2023 15:38
Copy link
Collaborator

@benoitf benoitf left a comment

Choose a reason for hiding this comment

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

checked as part of #3471

thanks for 2 separate PRs 🚀

@cdrage cdrage merged commit 60b6b5e into containers:main Aug 10, 2023
8 checks passed
@podman-desktop-bot podman-desktop-bot added this to the 1.3.0 milestone Aug 10, 2023
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.

Be able to add "localhost:8082" as a registry / incorrect validator errors
3 participants