场景:
cos Java Sdk 上传本地文件报错。在文件比较小的时候正常上传,文件一旦超过百兆就会偶发报错
报错信息如下:
com.qcloud.cos.exception.CosClientException: Upload canceled
at com.qcloud.cos.transfer.UploadMonitor.call(UploadMonitor.java:149)
at com.qcloud.cos.transfer.UploadMonitor.call(UploadMonitor.java:47)
at java.uti
执行 docker build ‐t yi/centos7‐ssh .命令时总是报错
报错信息如下:
No match for argument: net-tool
Error: Unable to find a match
The command '/bin/sh -c yum install -y passwd openssh-server openssh-clients initscripts net-tool' returned a non-zero code: 1
Xshell6执行 docker build ‐t yi/centos7‐ssh .命令时总是报错
报错信息如下:
No match for argument: net-tool
Error: Unable to find a match
The command '/bin/sh -c yum install -y passwd openssh-server openssh-clients initscripts net-tool' returned a non-zero code: 1