尝试从客户端构建docker镜像时遇到了问题。 我正在使用" docker --host x.x.x.x build"命令。构建开始发送,并在发生以下错误后几秒钟失败:
时间=#&34; 2017-08-11T09:43:27 + 01:00" level = error msg ="无法将文件\\?\ E:\ folder \ master \ workspace \ packages \ Newtonsoft.Json.10.0.3 \ Newtonsoft.Json.10.0.3.nupkg添加到tar :io:在封闭管道上读/写" 时间=#&34; 2017-08-11T09:43:27 + 01:00" level = error msg ="不能关闭tar writer:io:在关闭的管道上读/写" 连接期间出错:发布http://x.x.x.x:2375/v1.27/build?buildargs=%7B%22CONFIGURATION%22%3A%22live%22%7D&cachefrom=%5B%5D&cgroupparent=&cpuperiod=0&cpuquota=0&cpusetcpus=&cpusetmems=&cpushares=0&dockerfile=dockerfile&labels=%7B%7D&memory=0&memswap=0&networkmode=default&nocache=1&rm=1&shmsize=0&t=project&target=&ulimits=null: read tcp y.y.y.y:52954-> x.x.x.x:2375: wsarecv:远程主机强行关闭现有连接。