docker 错误 : credentials key has https[s]://prefix

标签 docker centos podman

$ 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/

相关文章:

php - php 中的色度键使用 php 的 ImageMagic 扩展

quarkus - 使用 WSL2 + Podman 使用 TestContainers 运行 Quarkus 测试

linux-containers - 如果有很多,Podman 如何删除所有退出的容器

podman - 从容器内部访问主机

docker - 未在Rabbit MQ Docker镜像3.7.6上安装auth_backend_http

linux - 用另一个脚本停止一个 Linux 脚本

mongodb - 启动时将数据插入dockerized mongodb中

GIT 忽略 CentOS 中的代理配置

docker - Docker中Debian上的dotnet core SDK/Runtime

docker - Memsql docker镜像:无法在127.0.0.1:9000到达本地代理?