Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker-compose up fails #39

Open
alanknipmeyer opened this issue Jul 23, 2020 · 2 comments
Open

docker-compose up fails #39

alanknipmeyer opened this issue Jul 23, 2020 · 2 comments

Comments

@alanknipmeyer
Copy link

alanknipmeyer commented Jul 23, 2020

git clone then docker-compose up fails

docker-compose up
Building webserver
ERROR: error initializing submodules: usage: git submodule [--quiet] add [-b <branch>] [-f|--force] [--name <name>] [--reference <repository>] [--] <repository> [<path>]
   or: git submodule [--quiet] status [--cached] [--recursive] [--] [<path>...]
   or: git submodule [--quiet] init [--] [<path>...]
   or: git submodule [--quiet] deinit [-f|--force] [--] <path>...
   or: git submodule [--quiet] update [--init] [--remote] [-N|--no-fetch] [-f|--force] [--rebase] [--reference <repository>] [--merge] [--recursive] [--] [<path>...]
   or: git submodule [--quiet] summary [--cached|--files] [--summary-limit <n>] [commit] [--] [<path>...]
   or: git submodule [--quiet] foreach [--recursive] <command>
   or: git submodule [--quiet] sync [--recursive] [--] [<path>...]
: exit status

Docker Version -

docker version
Client: Docker Engine - Community
 Version:           19.03.12
 API version:       1.40
 Go version:        go1.13.10
 Git commit:        48a66213fe
 Built:             Mon Jun 22 15:46:54 2020
 OS/Arch:           linux/amd64
 Experimental:      false

Server: Docker Engine - Community
 Engine:
  Version:          19.03.12
  API version:      1.40 (minimum version 1.12)
  Go version:       go1.13.10
  Git commit:       48a66213fe
  Built:            Mon Jun 22 15:45:28 2020
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.2.13
  GitCommit:        7ad184331fa3e55e52b890ea95e65ba581ae3429
 runc:
  Version:          1.0.0-rc10
  GitCommit:        dc9208a3303feef5b3839f4323d9beb36df0a9dd
 docker-init:
  Version:          0.18.0
  GitCommit:        fec3683

docker-compose version

[docker-compose version 1.26.2, build eefe0d31
docker-py version: 4.2.2
CPython version: 3.7.7
OpenSSL version: OpenSSL 1.1.0l  10 Sep 2019]
```(url)

Git version

git version
git version 1.8.3.1



cat /etc/redhat-release
CentOS Linux release 7.8.2003 (Core)

@alanknipmeyer
Copy link
Author

On centos 7 minimial install downloaded latest git source version and included developer tools, resulted in the docker-compose to not fail on this specific point.

wget https://mirrors.edge.kernel.org/pub/software/scm/git/git-2.9.5.tar.gz
yum group install "Development Tools" 
yum install perl-devel
yum install zlib-devel.x86_64
tar xvfz git-2.9.5.tar.gz
cd git-2.9.5
./configure ; make; make install
mv /bin/git /var/tmp/
ln -s /usr/local/bin/git /bin/git
git --version
git version 2.9.5

@alanknipmeyer
Copy link
Author

alanknipmeyer commented Jul 23, 2020

Next error :)

# docker-compose up
Building webserver
ERROR: error fetching: fatal: Unable to find remote helper for 'https'
: exit status 128

yum install curl-devel
cd git-2-9-5
./configure ; make ; make install

fixed the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant