我正在尝试将 Windows 容器的映像推送到 Windows VM 上的“本地”存储库,该存储库具有自己的 IP 地址。
因此,当我在虚拟机上创建注册表时,我可以通过转到 ipaddress:5000 来查看本地计算机上的存储库列表。
但是,当我尝试将图像推送到注册表时,它显示要推送的层,但在底部显示收到意外的 HTTP 状态:500 内部服务器错误。
当我切换到 Linux 容器时,这不是问题。我可以从注册表中推送和拉取,没有问题。
我已将 Docker Desktop 下载到 Windows 10 Pro 机器 (1809) 上。我正在尝试执行docker run hello-world命令,但收到此错误:
docker: Error response from daemon: hcsshim::CreateComputeSystem 0e3c581b7316f66fd396f6007f3260ded7d934c5e6d53c9fedba279b9c0044c2:
The virtual machine could not be started because a required feature is not installed.
(extra info: {"SystemType":"Container","Name":"0e3c581b7316f66fd396f6007f3260ded7d934c5e6d53c9fedba279b9c0044c2","Owner":"docker","IgnoreFlushesDuringBoot":true,"LayerFolderPath":"C:\\ProgramData\\Docker\\windowsfilter\\0e3c581b7316f66fd396f6007f3260ded7d934c5e6d53c9fedba279b9c0044c2","Layers":[{"ID":"08298683-92e6-5d81-8efa-07df462bc835","Path":"C:\\ProgramData\\Docker\\windowsfilter\\da67c59750c9d72f917f4169d58fff3285b27d01c30c159f437b8ec8bace3fd3"},{"ID":"8ffbf2ed-0796-5433-969d-24c7c60eed76","Path":"C:\\ProgramData\\Docker\\windowsfilter\\20785c70b0b36964948ecf0180bbe644306ed1f70686864f3cf476229f3ae054"},{"ID":"d0522a69-fb9e-53ff-8eec-0492669a13de","Path":"C:\\ProgramData\\Docker\\windowsfilter\\2c662c56ef3ffafe3f5cb6180ac24154c081866bb0a6c0e3c27fa5a3bcc957a7"}],"HostName":"0e3c581b7316","HvPartition":true,"EndpointList":["63F24577-D177-4DE9-8071-9325D00D5499"],"HvRuntime":{"ImagePath":"C:\\ProgramData\\Docker\\windowsfilter\\2c662c56ef3ffafe3f5cb6180ac24154c081866bb0a6c0e3c27fa5a3bcc957a7\\UtilityVM"},"AllowUnqualifiedDNSQuery":true}).
Run Code Online (Sandbox Code Playgroud) 我正在尝试使用 Docker 运行构建代理并将其连接到我的 TeamCity 服务器。我执行这个命令:
docker run -it -e SERVER_URL="xxxx:8111" jetbrains/teamcity-agent
Run Code Online (Sandbox Code Playgroud)
它尝试设置所有内容,但返回此错误:
[2019-08-12 11:02:45,218] WARN - buildServer.AGENT.registration -
Error while asking server for the communication prot
ocols via URL http://xxxx:8111/app/agents/protocols. Will try
later: java.net.ConnectException: Connection timed
out: connect (enable debug to see stacktrace)
[2019-08-12 11:02:45,218] WARN - buildServer.AGENT.registration -
Error registering on the server via URL http://xxxx:8111. Will continue repeating connection attempts.
Run Code Online (Sandbox Code Playgroud)