Open hrkrx opened 2 weeks ago
Thanks @hrkrx I am not a gitlab user. Would you have a reproducer for this? (eg: a few lines to setup gitlab with 2fa locally)
Otherwise, I will look into gitlab of course - but might take some time.
@hrkrx does docker support 2FA?
Actually, since you enabled 2FA, you need to use a personal access token or a deploy token to login against your gitlab registry with a cli.
This is true for both docker and nerdctl.
Documentation here:
https://docs.gitlab.com/ee/user/packages/container_registry/troubleshoot_container_registry.html
@AkihiroSuda can we tag this as question
and close it?
Description
When enabling 2fa in gitlab the login to the registry is not working.
Steps to reproduce the issue
Describe the results you received and expected
I expected the login to function normally even with 2fa
What version of nerdctl are you using?
0.23.0
Are you using a variant of nerdctl? (e.g., Rancher Desktop)
Rancher Desktop for Windows
Host information
Windows 10 (WinBuild.160101.0800)