olacabs / jackhammer

Jackhammer - One Security vulnerability assessment/management tool to solve all the security team problems.
https://jch.olacabs.com/userguide
Other
718 stars 162 forks source link

Unable to install in debian variant #1

Open Blueberry-vignesh4303 opened 7 years ago

Blueberry-vignesh4303 commented 7 years ago

I tried to install this at debian variant of the machine , but i get the following error :

ERROR: Version in "./docker-compose.yml" is unsupported. You might be seeing this error because you're using the wrong Compose file version. Either specify a version of "2" (or "2.0") and place your service definitions under the services key, or omit the version key and place your service definitions at the root of the file to use version 1.

Kindly advise

shadsidd commented 7 years ago

@Blueberry-vignesh4303 Can you upgrade docker and docker-compose and then retry. This would solve the issue.

Blueberry-vignesh4303 commented 7 years ago

@shadsidd thanks for the reply, i am already using docker newest version (1.5-1+b1), and docker-compose newest version (1.8.0-2). Apart from that i am using kali os [2017 rolling release],does the repository makes any difference?kindly advise

shadsidd commented 7 years ago

@Blueberry-vignesh4303 tried on ubuntu and it does work perfectly fine with updated docker and docker-compose. Did you try this https://docs.docker.com/engine/installation/linux/debian/#uninstall-old-versions wheezy has an extra step

1ab1 commented 7 years ago

@Blueberry-vignesh4303 You may upgrade docker, docker-compose and build jackhammer again.

root@kali:~# uname -a
Linux kali 4.6.0-kali1-amd64 #1 SMP Debian 4.6.4-1kali1 (2016-07-21) x86_64 GNU/Linux
root@kali:~# docker -v
Docker version 17.05.0-ce, build 89658be
root@kali:~# docker-compose -v
docker-compose version 1.13.0, build 1719ceb
root@kali:~# pip -V
pip 9.0.1 from /usr/local/lib/python2.7/dist-packages (python 2.7)
Blueberry-vignesh4303 commented 7 years ago

I tried the upgrade and its latest version ,kindly find the below output :

root@bb:/home/Frameworks/jackhammer# sudo apt-get install python-pip -y
Reading package lists... Done
Building dependency tree       
Reading state information... Done
python-pip is already the newest version (9.0.1-2).

root@bb:/home/Frameworks/jackhammer# sudo pip install --upgrade pip
Requirement already up-to-date: pip in /usr/lib/python2.7/dist-packages

root@bb:/home/Frameworks/jackhammer# sudo pip install --upgrade pip
Requirement already up-to-date: pip in /usr/lib/python2.7/dist-packages

root@bb:/home/Frameworks/jackhammer# docker-compose --version
docker-compose version 1.8.0, build unknown

root@bb:/home/Frameworks/jackhammer# uname -a
Linux bb 4.9.0-kali3-amd64 #1 SMP Debian 4.9.18-1kali1 (2017-04-04) x86_64 GNU/Linux
root@bb:/home/Frameworks/jackhammer# docker -v
Docker version 17.05.0-ce, build 89658be

root@bb:/home/Frameworks/jackhammer# docker-compose -v
docker-compose version 1.8.0, build unknown
1ab1 commented 7 years ago

@Blueberry-vignesh4303 Please update docker-compose to latest 1.13.0 Check 4569, Incase you get a dependency issue related to docker-py "an older version of the 'docker-py' package is polluting the namespace"

shadsidd commented 7 years ago

@Blueberry-vignesh4303 as we mentioned earlier you have to update the docker and docker compose you aint on the latest one. We support Compose file format: 3.0 – 3.2 and Docker Engine: 1.13.0+