dockerize中的acumos模型图像构建错误

时间:2018-12-11 08:06:10

标签: acumos

我在加入创建映像时遇到了一个错误,并且不知道如何解决。我该怎么办?

同一操作在我的家庭工作站上有效,但在办公室工作站上无效,这是代理的问题吗?

关注日志:

2018.12.11.15.05.52  DEBUG  Step 8/16 : RUN echo "nameserver 8.8.8.8" | tee /etc/resolv.conf > /dev/null
2018.12.11.15.05.52  DEBUG  
2018.12.11.15.05.52  DEBUG   ---> Using cache
2018.12.11.15.05.52  DEBUG   ---> 44aa4855b1cb
2018.12.11.15.05.52  DEBUG  Step 9/16 : RUN apt-get clean && apt-get update && apt-get -y install libgtk2.0-dev
2018.12.11.15.05.52  DEBUG  
2018.12.11.15.05.52  DEBUG   ---> Running in 36a688ff26f2
2018.12.11.15.08.08  DEBUG  Err deb.debian.org jessie InRelease
Err deb.debian.org jessie-updates InRelease
Err security.debian.org jessie/updates InRelease
2018.12.11.15.08.08  DEBUG  Err deb.debian.org jessie Release.gpg
  Unable to connect to 10.1.0.6:3128:
2018.12.11.15.08.08  DEBUG  Err security.debian.org jessie/updates Release.gpg
  Unable to connect to 10.1.0.6:3128:
2018.12.11.15.08.08  DEBUG  Err deb.debian.org jessie-updates Release.gpg
  Unable to connect to 10.1.0.6:3128:    
2018.12.11.15.08.12  DEBUG  Reading package lists...
2018.12.11.15.08.16  DEBUG  
2018.12.11.15.08.20  DEBUG  [91mW: Failed to fetch deb.debian.org/debian/dists/jessie/InRelease  
W: Failed to fetch deb.debian.org/debian/dists/jessie-updates/InRelease  
W: Failed to fetch security.debian.org/dists/jessie/updates/InRelease  
W: Failed to fetch http://deb.debian.org/debian/dists/jessie/Release.gpg  Unable to connect to 10.1.0.6:3128:
W: Failed to fetch http://deb.debian.org/debian/dists/jessie-updates/Release.gpg  Unable to connect to 10.1.0.6:3128:
W: Failed to fetch http://security.debian.org/dists/jessie/updates/Release.gpg  Unable to connect to 10.1.0.6:3128:
W: Some index files failed to download. They have been ignored, or old ones used instead.
[0m
2018.12.11.15.08.24  DEBUG  Reading package lists...
2018.12.11.15.08.27  DEBUG  
2018.12.11.15.08.31  DEBUG  Building dependency tree...
2018.12.11.15.08.31  DEBUG  
Reading state information...
2018.12.11.15.08.31  DEBUG  
2018.12.11.15.08.31  DEBUG  [91mE: Unable to locate package libgtk2.0-dev
E: Couldn't find any package by regex 'libgtk2.0-dev'
[0m
2018.12.11.15.08.32  DEBUG Notifycom.github.dockerjava.api.exception.DockerClientException: Could not build image: The command '/bin/sh -c apt-get clean && apt-get update && apt-get -y install libgtk2.0-dev' returned a non-zero code: 100
2018.12.11.15.08.32  DEBUG  Send Notification to DB Ended
2018.12.11.15.08.32  DEBUG  Onboarding Failed, Reverting failed solutions and artifacts.

1 个答案:

答案 0 :(得分:0)

很抱歉收到您的延迟评论,希望对新来者有帮助。

我两次遇到这个问题,

  • 这是第一次由于磁盘空间问题而引起,一旦我通过删除旧的无用大文件来清理存储库就可以了

  • 我第二次通过“ sudo apt-get update”解决它