Closed xuyanqin closed 3 years ago
你贴了一行没有任何错误详情的无用信息……
Pulling tomcat (vulhub/tomcat:8.0)...
Traceback (most recent call last):
File "/usr/bin/docker-compose", line 11, in
看样子好像是docker和docker-compose的接口不一致导致的,可以按照如下模板填写一下错误,看是否是版本原因导致:
填写如下信息
一些关键信息:
注意,issue仅接受vulhub自身的bug,如:
不接受:
请贴出完整错误信息,可以是命令行输出、软件报错信息、截图等。
注意,请贴出完整错误信息,不要只粘贴错误的最后一行!
同样发现这个问题 @phith0n
vulhub环境:gitlab/CVE-2016-9086 网络环境:香港服务器
操作日志
git clone https://github.com/vulhub/vulhub/
cd vulhub/
cd gitlab
cd CVE-2016-9086/
docker-compose up
错误信息
...
Setting up libidn11-dev (1.28-1ubuntu2.2) ...
Setting up libkrb5-dev (1.12+dfsg-2ubuntu5.4) ...
Setting up libldap2-dev:amd64 (2.4.31-1+nmu2ubuntu8.5) ...
Setting up libgpg-error-dev (1.12-0.2ubuntu1) ...
Setting up libgcrypt11-dev (1.5.3-2ubuntu4.6) ...
Setting up zlib1g-dev:amd64 (1:1.2.8.dfsg-1ubuntu1.1) ...
Setting up libtasn1-6-dev (3.4-3ubuntu0.6) ...
Setting up libp11-kit-dev (0.20.2-2ubuntu2) ...
Setting up libgnutls-dev (2.12.23-12ubuntu2.8) ...
Setting up librtmp-dev (2.4+20121230.gitdf6c518-1ubuntu0.1) ...
Setting up libssl-dev:amd64 (1.0.1f-1ubuntu2.27) ...
Setting up libcurl4-openssl-dev:amd64 (7.35.0-1ubuntu2.20) ...
Setting up libgdbm-dev (1.8.3-12build1) ...
Setting up libgmp-dev:amd64 (2:5.1.3+dfsg-1ubuntu1) ...
Setting up libicu-dev:amd64 (52.1-3ubuntu0.8) ...
Setting up libmysqlclient-dev (5.5.62-0ubuntu0.14.04.1) ...
Setting up libtinfo-dev:amd64 (5.9+20140118-1ubuntu1) ...
Setting up libncurses5-dev:amd64 (5.9+20140118-1ubuntu1) ...
Setting up libpq-dev (11.3-1.pgdg14.04+1) ...
Setting up libreadline6-dev:amd64 (6.3-4ubuntu2) ...
Setting up libreadline-dev:amd64 (6.3-4ubuntu2) ...
Setting up libxml2-dev:amd64 (2.9.1+dfsg1-3ubuntu4.13) ...
Setting up libxslt1-dev:amd64 (1.1.28-2ubuntu0.2) ...
Setting up make (3.81-8.2ubuntu3) ...
Setting up patch (2.7.1-4ubuntu2.4) ...
Setting up libffi-dev:amd64 (3.1~rc1+r3.0.13-12ubuntu0.2) ...
Setting up libyaml-dev:amd64 (0.1.4-3ubuntu3.1) ...
Setting up paxctl (0.7-1) ...
Setting up ruby2.3-dev:amd64 (2.3.8-4bbox1~trusty1) ...
Processing triggers for libc-bin (2.19-0ubuntu6.11) ...
file /usr/bin/nodejs got a new PT_PAX_FLAGS program header
Adding user `git' ...
Adding new group `git' (1000) ...
Adding new user `git' (1000) with group `git' ...
Creating home directory `/home/git' ...
Copying files from `/etc/skel' ...
passwd: password expiry information changed.
Downloading gitlab-shell v.3.6.6...
mkdir -p /home/git/.ssh: OK
chmod 700 /home/git/.ssh: OK
Downloading gitlab-workhorse v.0.8.5...
Downloading Go 1.5.3...
2020-03-18 06:57:39 URL:https://storage.googleapis.com/golang/go1.5.3.linux-amd64.tar.gz [80147269/80147269] -> "/etc/docker-gitlab/build/go1.5.3.linux-amd64.tar.gz" [1]
mkdir -p /home/git/gitlab-workhorse/_build/src/gitlab.com/gitlab-org/gitlab-workhorse
tar -cf - --exclude _build --exclude .git . | (cd /home/git/gitlab-workhorse/_build/src/gitlab.com/gitlab-org/gitlab-workhorse && tar -xf -)
touch /home/git/gitlab-workhorse/_build
fatal: not a git repository (or any of the parent directories): .git
go build -ldflags "-X main.Version=-20200318.065742" -o /home/git/gitlab-workhorse/gitlab-workhorse gitlab.com/gitlab-org/gitlab-workhorse
fatal: not a git repository (or any of the parent directories): .git
go build -ldflags "-X main.Version=-20200318.065747" -o /home/git/gitlab-workhorse/gitlab-zip-cat gitlab.com/gitlab-org/gitlab-workhorse/cmd/gitlab-zip-cat
fatal: not a git repository (or any of the parent directories): .git
go build -ldflags "-X main.Version=-20200318.065747" -o /home/git/gitlab-workhorse/gitlab-zip-metadata gitlab.com/gitlab-org/gitlab-workhorse/cmd/gitlab-zip-metadata
mkdir -p /usr/local/bin/
cd /home/git/gitlab-workhorse && install gitlab-workhorse gitlab-zip-cat gitlab-zip-metadata /usr/local/bin/
Cloning gitlab-ce v.8.13.1...
Note: switching to '91f25c2f6e36ebc9a898317b84742f11e6309241'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
git switch -c <new-branch-name>
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
[DEPRECATED] The `--deployment` flag is deprecated because it relies on being remembered across bundler invocations, which bundler will no longer do in future versions. Instead please use `bundle config set deployment 'true'`, and stop using this flag
[DEPRECATED] The `--without` flag is deprecated because it relies on being remembered across bundler invocations, which bundler will no longer do in future versions. Instead please use `bundle config set without 'development test aws'`, and stop using this flag
Fetching gem metadata from https://rubygems.org/.......
Could not find gemnasium-gitlab-service-0.2.6 in any of the sources
ERROR: Service 'gitlab' failed to build: The command '/bin/sh -c bash ${GITLAB_BUILD_DIR}/install.sh' returned a non-zero code: 7
docker-compose -v
docker-compose version 1.17.1, build unknown
docker -v
Docker version 19.03.6, build 369ce74a3c
lsb_release -a
Distributor ID: Ubuntu
Description: Ubuntu 18.04.1 LTS
Release: 18.04
Codename: bionic
uname -a
Linux VM-0-6-ubuntu 4.15.0-54-generic #58-Ubuntu SMP Mon Jun 24 10:55:24 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Fixed at #237
ERROR: Service 'gitlab' failed to build: The command '/bin/sh -c bash ${GITLAB_BUILD_DIR}/install.sh' returned a non-zero code: 4