透明水晶 2023-07-09 07:36 采纳率: 96.8%
浏览 14
已结题

Docker构建镜像失败

Docker构建镜像失败,LOG如下:

--------------------
ERROR: failed to solve: process "/bin/sh -c apt-get update -q && apt-get install -y -q     bash-completion     bc     bison     build-essential     cpio     curl     dos2unix     enca     flex     gawk     gcc-multilib     gettext     git-core     g++-multilib     gnupg     gperf \tlibapr1     libc6-dev-i386 \tlibneon27-gnutls     libx11-dev \tlib32ncurses5     lib32ncurses5-dev     lib32z1     nano     python \trename     rsync     subversion     sudo     texinfo     tofrodos     wget     x11proto-core-dev     zip     zlib1g-dev     make     libc6     lib32stdc++6     zlib1g-dev \tclang-format     ncurses-term     libncursesw5-dev     g++     u-boot-tools     texinfo     texlive     gawk     upx     pngquant     libgl1-mesa-dev     mtd-utils     vim     squashfs-tools     cmake     liblz4-tool     device-tree-compiler     mingw-w64 \tlanguage-pack-zh-hans \tbash-completion  && rm -rf /var/lib/apt/lists/*  && sudo rm /bin/sh && sudo ln -s /bin/bash /bin/sh  && sudo rm /etc/localtime && sudo ln -s /usr/share/zoneinfo/Asia/Shanghai /etc/localtime" did not complete successfully: exit code: 100

img

  • 写回答

3条回答 默认 最新

  • 透明水晶 2023-07-10 07:08
    关注

    img

    
      77 | >>>     device-tree-compiler \
      78 | >>>     mingw-w64 \
      79 | >>>     language-pack-zh-hans \
      80 | >>>     bash-completion \
      81 | >>>  && rm -rf /var/lib/apt/lists/* \
      82 | >>>  && sudo rm /bin/sh && sudo ln -s /bin/bash /bin/sh \
      83 | >>>  && sudo rm /etc/localtime && sudo ln -s /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
      84 | >>>  && sudo locale-gen en_US.UTF-8 \
      85 | >>>  && sudo git config --global user.name "fly" \
      86 | >>>  && sudo git config --global user.email "fly@docker.com" \
      87 | >>>  && git config --global alias.st status \
      88 | >>>  && git config --global alias.co checkout \
      89 | >>>  && git config --global alias.ci commit \
      90 | >>>  && git config --global alias.br branch \
      91 | >>>  && git config --global alias.last 'log -1' \
      92 | >>>  && git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit" \
      93 | >>>  && cat config/myvimrc.txt >> /etc/vim/vimrc
      94 |
    --------------------
    ERROR: failed to solve: process "/bin/sh -c apt-get update -q && apt-get install -y -q     bash-completion     bc     bison     build-essential     cpio     curl     dos2unix     enca     flex     gawk     gcc-multilib     gettext     git-core     g++-multilib     gnupg     gperf     libapr1     libc6-dev-i386     libneon27-gnutls     libx11-dev     lib32ncurses5     lib32ncurses5-dev     lib32z1     nano     python     rename     rsync     subversion     sudo     texinfo     tofrodos     wget     x11proto-core-dev     zip     zlib1g-dev     make     libc6     lib32stdc++6     zlib1g-dev     clang-format     ncurses-term     libncursesw5-dev     g++     u-boot-tools     texinfo     texlive     gawk     upx     pngquant     libgl1-mesa-dev     mtd-utils     vim     squashfs-tools     cmake     liblz4-tool     device-tree-compiler     mingw-w64     language-pack-zh-hans     bash-completion  && rm -rf /var/lib/apt/lists/*  && sudo rm /bin/sh && sudo ln -s /bin/bash /bin/sh  && sudo rm /etc/localtime && sudo ln -s /usr/share/zoneinfo/Asia/Shanghai /etc/localtime  && sudo locale-gen en_US.UTF-8  && sudo git config --global user.name \"fly\"  && sudo git config --global user.email \"fly@docker.com\"  && git config --global alias.st status  && git config --global alias.co checkout  && git config --global alias.ci commit  && git config --global alias.br branch  && git config --global alias.last 'log -1'  && git config --global alias.lg \"log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit\"  && cat config/myvimrc.txt >> /etc/vim/vimrc" did not complete successfully: exit code: 100
    
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(2条)

报告相同问题?

问题事件

  • 系统已结题 7月20日
  • 已采纳回答 7月12日
  • 创建了问题 7月9日

悬赏问题

  • ¥15 python的qt5界面
  • ¥15 无线电能传输系统MATLAB仿真问题
  • ¥50 如何用脚本实现输入法的热键设置
  • ¥20 我想使用一些网络协议或者部分协议也行,主要想实现类似于traceroute的一定步长内的路由拓扑功能
  • ¥30 深度学习,前后端连接
  • ¥15 孟德尔随机化结果不一致
  • ¥15 apm2.8飞控罗盘bad health,加速度计校准失败
  • ¥15 求解O-S方程的特征值问题给出边界层布拉休斯平行流的中性曲线
  • ¥15 谁有desed数据集呀
  • ¥20 手写数字识别运行c仿真时,程序报错错误代码sim211-100