OS:Mac OS High Sierra 10.13.6
我刚刚像这样实例化了一个新的Nexus Docker容器-
docker run -d -p 8081:8081 --name nexus sonatype/nexus3
工作出色,可以访问存储库等。
但是,当我使用以下命令推送到默认的Nuget存储库时:
dotnet nuget push ~/Downloads/abc.3.2.55.nupkg --source http://localhost:8081/repository/nuget-hosted/ -k 0fc45a34-fa99-3af1-9bb6-bd6759047bbb
我最终得到:
info : Pushing abc.3.2.55.nupkg to 'http://localhost:8081/repository/nuget-hosted/'...
info : PUT http://localhost:8081/repository/nuget-hosted/
error: The operation was canceled.
error: Error while copying content to a stream.
error: Unable to read data from the transport connection: Operation
canceled.
error: Operation canceled
error: Pushing took too long. You can change the default timeout of 300 seconds by using the --timeout <seconds> option with the push command.
但是,更令人担忧的是,一旦我按下nuget push命令,我将无法再访问Nexus网页,并出现类似以下错误:
假设nuget push / docker是罪魁祸首,我该怎么做才能开始诊断导致挂起的原因?