未检测到用于Docker容器创建的现有Docker映像

lc8prwob  于 2023-02-03  发布在  Docker
关注(0)|答案(1)|浏览(182)

当前在本地具有以下Docker映像:

(tts_test) root@e2e-100-17:~/Documents/tritonTTSdeployment# docker images
REPOSITORY                                TAG             IMAGE ID       CREATED          SIZE
customtritonimagetts                      latest          a34706205a9a   5 minutes ago    17.7GB
tritonserver                              latest          19817c37bb25   12 minutes ago   8.81GB
registry.k8s.io/kube-apiserver            v1.26.1         deb04688c4a3   11 days ago      134MB
registry.k8s.io/kube-scheduler            v1.26.1         655493523f60   11 days ago      56.3MB
registry.k8s.io/kube-controller-manager   v1.26.1         e9c08e11b07f   11 days ago      124MB
registry.k8s.io/kube-proxy                v1.26.1         46a6bb3c77ce   11 days ago      65.6MB
registry.k8s.io/etcd                      3.5.6-0         fce326961ae2   2 months ago     299MB
nvcr.io/nvidia/tritonserver               22.10-py3-min   8bc805049606   3 months ago     6.72GB
nvcr.io/nvidia/tritonserver               22.10-py3       486d7ee640ad   3 months ago     13.5GB
registry.k8s.io/pause                     3.9             e6f181688397   3 months ago     744kB
registry.k8s.io/coredns/coredns           v1.9.3          5185b96f0bec   8 months ago     48.8MB
registry.k8s.io/pause                     3.6             6270bb605e12   17 months ago    683kB
gcr.io/k8s-minikube/storage-provisioner   v5              6e38f40d628d   22 months ago    31.5MB

创建容器的命令:

docker run -t customtritonimagetts

在尝试运行以下命令创建Docker容器后,仍然无法创建Docker容器并抛出以下错误:

Unable to find image 'customtritonimagetts:latest' locally
docker: Error response from daemon: pull access denied for customtritonimagetts, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
See 'docker run --help'.

早些时候,我试图配置Minikube,并可能造成了一些问题与docker图像创建和图像注册表。什么可能的问题!
[NOTE:有轻微的打字错误,我纠正了,问题仍然存在]

sd2nnvve

sd2nnvve1#

请确保存储库是公共的,此错误意味着您尝试拉入的Docker映像是私有的。只有具有权限的登录用户才可以拉入映像。
尝试以下故障排除步骤:
1- Docker 注销
2-登录--用户名=您的用户名系统提示时输入密码
3-Docker拉入存储库名称"/"图像名称[:tag]
如果"标签"不包括在内,默认值将是"最新"。然后检查图像由docker图像命令,检查它是否已拉。拉后,你可以使仓库再次私有。

相关问题