marcelbirkner / docker-ci-tool-stack

Docker Infrastructure via docker-compose (Jenkins, SonarQube, Nexus, GitLab, Selenium Grid)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error starting setup.sh

ralfebert1 opened this issue · comments

Hi,

I've installed your project using
git clone https://github.com/marcelbirkner/docker-ci-tool-stack.git
and set execute permission for the file setup.sh.

starting the script I get the messages behind:

ralf@Entwicklungssystem:~/Downloads/docker-ci-tool-stack$ ./setup.sh
Create docker machine
./setup.sh: 12: ./setup.sh: docker-machine: not found
Setup environment
./setup.sh: 15: ./setup.sh: docker-machine: not found
Checkout Git Repository
Klone nach 'docker-ci-tool-stack' ...
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
./setup.sh: 19: cd: can't cd to docker-ci-tool-stack
Startup Docker Compose
./setup.sh: 22: ./setup.sh: docker-compose: not found
ralf@Entwicklungssystem:~/Downloads/docker-ci-tool-stack$ 

How can I solve this problem? I'm using docker-ce on ubuntu trusty, the output of docker --version is

Docker version 17.06.0-ce, build 02c1d87

best regards
Ralf Ebert

Hi Ralf,

[...] How can I solve this problem? [...]

i do not know much about using git on linux but maybe you can solve it by either setting up your github credentials correctly or by replacing line 18 in setup.sh with the following line:

git clone https://github.com/marcelbirkner/docker-ci-tool-stack.git

You might want to expand your knowledge on those two lines:

Permission denied (publickey).
fatal: Could not read from remote repository.

The comments on this SO answer seem to be able to deliver insights concerning setting up SSH vs using HTTPS urls for git.

cheers
H