Open apostasie opened 3 months ago
Hi @apostasie,
the scheme is not ignored during nerdctl login
, there is a fallback from https
to http
in specific justified situations where we can add a warning message to notify the user
@fahedouch any user specified scheme in the url is just ignored entirely.
Try for example: nerdctl login http://index.docker.io
The fact that we fallback from https to http (typically through --insecure-registry) is orthogonal.
@fahedouch any user specified scheme in the url is just ignored entirely.
Try for example:
nerdctl login http://index.docker.io
The fact that we fallback from https to http (typically through --insecure-registry) is orthogonal.
It looks like a bug. It is not the intended behavior. Let me check this.
Description
While
pull
andpush
do not allow explicit schemes (as image identifiers do not), both docker and nerdctllogin
DO allow it, albeit ignoring them entirely.Our suggestion is to:
This will impact #3046 - which I believe still matters as there should be a way to talk TLS even with localhost.
Steps to reproduce the issue
Describe the results you received and expected
What version of nerdctl are you using?
1.7.6
Are you using a variant of nerdctl? (e.g., Rancher Desktop)
None
Host information
No response