-
Notifications
You must be signed in to change notification settings - Fork 184
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
Redirect both the hostname and port for TCP connections #790
Comments
I think the example is wrong? In rc1, the push command looks like below
Since the default port of non-plain-http is 443, the destination port should be 443 and oras will map it to 5000. The command looks like below
|
The example in the description is exactly the same as you've provided. |
Oh Indeed. |
This PR enhances `--resolve` flag by allowing users to specify destination port during DNS lookup. Resolves #790. Signed-off-by: Billy Zha <[email protected]>
What is the version of your ORAS CLI
v1.0.0-rc.1
What would you like to be added?
The
oras
allows the flag--resolve host:port:address
to dial to an another host, which works like/etc/hosts
. However, it does not redirect the ports.Therefore, it would be nice to have
Why is this needed for ORAS?
It is useful to do local development by using a local registry as a remote registry.
For example:
Are you willing to submit PRs to contribute to this feature?
The text was updated successfully, but these errors were encountered: