$ docker login -u uploader -p ****** http://10.11.20.186:8082 [14:13:41]
Error: credentials key has https[s]:// prefix
$ docker -v [14:28:20]
podman version 3.4.1-dev
$ cat /etc/os-release [14:28:59]
NAME="CentOS Stream"
VERSION="8"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="8"
PLATFORM_ID="platform:el8"
PRETTY_NAME="CentOS Stream 8"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:8"
HOME_URL="https://centos.org/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux 8"
REDHAT_SUPPORT_PRODUCT_VERSION="CentOS Stream"
sheng@B-Product-U-WEB01 /etc/containers/registries.conf.d
$ cat 003-nexus.conf [14:45:28]
[[registry]]
prefix = "10.11.20.186:8082"
location = "10.11.20.186:8082"
insecure = true
我想登录到我的 nexus 存储库管理器。但是,当我尝试这样做时,我得到了错误。
错误:凭据 key 具有 https[s]://前缀
最佳答案
docker login -u uploader -p 1qaz2wsx 10.11.20.186:8082
这应该可以在没有降级的情况下工作。只需删除“https://”。
关于 docker 错误 : credentials key has https[s]://prefix,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/71390898/