当我尝试使用minishift执行联合图像的构建时,它以此错误结束:
[ERROR] Failed to execute goal
io.fabric8:fabric8-maven-plugin:3.5.38:build (exec) on project s2i:
Failed to execute the build: Unable to build the image using the
OpenShift build service: Can't instantiate binary build, due to error
reading/writing stream. Can be caused if the output stream was closed
by the server. Connection reset
我把Minishift以" Minishift状态"运行:
$ minishift status
Minishift: Running
Profile: minishift
OpenShift: Running (openshift v3.11.0+82a43f6-231)
DiskUsage: 76% of 20G (Mounted On: /mnt/sda1)
CacheUsage: 1.679 GB (used by oc binary, ISO or cached images)
并检查了适当的项目/豆荚是否已使用" oc get pods"命令安装。
问题是minishift耗尽了空间。
我可以用命令恢复一些空间
$ syndesis dev --cleanup
执行此操作时,请确保nip.io域在机器上工作。如果不是这种情况,请将以下条目添加到您的/etc/hosts:
$IP $IP.nip.io syndesis.$IP.nip.io docker-registry-default.$IP.nip.io
其中$ ip是minishift的IP,您可以找到以下方式:
$ minishift ip
192.168.42.58