草庐IT

Registry

全部标签

docker - 如何优化 docker pull 速度

Dockerpull有时会很慢如何优化?可以设置镜像吗?任何想法表示赞赏。我很欣赏有时它可能只是网络速度较慢,但​​尽可能加快速度会很棒。 最佳答案 不完全是镜像,但您可以设置aregistryasapullthroughcache:Byrunningalocalregistrymirror,youcankeepmostoftheredundantimagefetchtrafficonyourlocalnetwork.InthismodeaRegistryrespondstoallnormaldockerpullrequestsbu

docker - 如何优化 docker pull 速度

Dockerpull有时会很慢如何优化?可以设置镜像吗?任何想法表示赞赏。我很欣赏有时它可能只是网络速度较慢,但​​尽可能加快速度会很棒。 最佳答案 不完全是镜像,但您可以设置aregistryasapullthroughcache:Byrunningalocalregistrymirror,youcankeepmostoftheredundantimagefetchtrafficonyourlocalnetwork.InthismodeaRegistryrespondstoallnormaldockerpullrequestsbu

docker - 尝试获取 Docker Hub 目录时范围不足

我正在尝试获取Docker集线器的目录列表,但到目前为止,我只是收到一个错误响应。我的理解是我需要通过目录请求传递一个不记名token,所以我首先获取具有相关范围的token:curl-u"username:password"https://auth.docker.io/token?service=registry.docker.io&scope=registry:catalog:*"(这是使用我的DockerHub帐户中的用户名/密码)然后我将返回的token传递给注册表:curl-vL-H"Authorization:BearereyJhbGciOiJFUzI1NiIsInR5cC

docker - 尝试获取 Docker Hub 目录时范围不足

我正在尝试获取Docker集线器的目录列表,但到目前为止,我只是收到一个错误响应。我的理解是我需要通过目录请求传递一个不记名token,所以我首先获取具有相关范围的token:curl-u"username:password"https://auth.docker.io/token?service=registry.docker.io&scope=registry:catalog:*"(这是使用我的DockerHub帐户中的用户名/密码)然后我将返回的token传递给注册表:curl-vL-H"Authorization:BearereyJhbGciOiJFUzI1NiIsInR5cC

Docker 卷 : Docker Volume does not get mounted correctly on Amazon Linux

我目前正在尝试使用ansible将docker注册表部署到Amazonec2。我的食谱中的任务如下所示:-name:rundockerregistrycontainerdocker:image:registryname:docker-registrystate:reloadedenv:SETTINGS_FLAVOR:localSTORAGE_PATH:/opt/docker-registrySEARCH_BACKEND:sqlalchemyvolumes:-"/data/docker-registry-server/opt/docker-registry:/opt/docker-reg

Docker 卷 : Docker Volume does not get mounted correctly on Amazon Linux

我目前正在尝试使用ansible将docker注册表部署到Amazonec2。我的食谱中的任务如下所示:-name:rundockerregistrycontainerdocker:image:registryname:docker-registrystate:reloadedenv:SETTINGS_FLAVOR:localSTORAGE_PATH:/opt/docker-registrySEARCH_BACKEND:sqlalchemyvolumes:-"/data/docker-registry-server/opt/docker-registry:/opt/docker-reg

macos - 为什么推送 Docker 镜像失败并显示 "dial tcp: lookup cdn-registry-1.docker.io on 192.168.1.1:53: read udp 192.168.1.1:53: i/o timeout"?

我正在推送到DockerHub上的私有(private)Docker存储库,但我不断收到此错误:2726b5968341:Imagesuccessfullypushed2fd0731064ec:Imagesuccessfullypushed49328a658a81:Imagesuccessfullypushed6beafaa9c78d:Imagesuccessfullypushedbb8b822852f4:Imagesuccessfullypushed6a0d258340b1:PushingFATA[0457]Failedtouploadmetadata:Puthttps://cdn-

macos - 为什么推送 Docker 镜像失败并显示 "dial tcp: lookup cdn-registry-1.docker.io on 192.168.1.1:53: read udp 192.168.1.1:53: i/o timeout"?

我正在推送到DockerHub上的私有(private)Docker存储库,但我不断收到此错误:2726b5968341:Imagesuccessfullypushed2fd0731064ec:Imagesuccessfullypushed49328a658a81:Imagesuccessfullypushed6beafaa9c78d:Imagesuccessfullypushedbb8b822852f4:Imagesuccessfullypushed6a0d258340b1:PushingFATA[0457]Failedtouploadmetadata:Puthttps://cdn-

docker - 无法构建 : Get https://registry-1. docker.io/v2/microsoft/aspnetcore/manifests/1.1:未授权:用户名或密码不正确

我的aspnetcoredocker项目构建,但是当我单击Docker按钮(或按F5)运行时,我得到了SeverityCodeDescriptionProjectFileLineSuppressionStateErrorMSB4018The"PrepareForLaunch"taskfailedunexpectedly.Microsoft.DotNet.Docker.CommandLineClientException:Creatingnetwork"dockercompose1627893588_default"withthedefaultdriverBuildingpswebapi

docker - 无法构建 : Get https://registry-1. docker.io/v2/microsoft/aspnetcore/manifests/1.1:未授权:用户名或密码不正确

我的aspnetcoredocker项目构建,但是当我单击Docker按钮(或按F5)运行时,我得到了SeverityCodeDescriptionProjectFileLineSuppressionStateErrorMSB4018The"PrepareForLaunch"taskfailedunexpectedly.Microsoft.DotNet.Docker.CommandLineClientException:Creatingnetwork"dockercompose1627893588_default"withthedefaultdriverBuildingpswebapi