--------------------
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
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
把 error 日志都写到指定文件:
$ docker logs -t <CONTAINER> | grep error >> logs_error.txt
可以写一个脚本把感兴趣的内容写入文件,进一步还可以导入我们的日志系统,方便查看。
你把报错信息复制出来发给我