eliasgranderubio / dagda

a tool to perform static analysis of known vulnerabilities, trojans, viruses, malware & other malicious threats in docker images/containers and to monitor the docker daemon and running docker containers for detecting anomalous activities
Apache License 2.0
1.16k stars 163 forks source link

Max retries exceeded with url: /v1/check/containers/cf04e94c4510 || Failed to establish a new connection: [Errno 111] Connection refused] #65

Closed Ajitesh2012 closed 5 years ago

Ajitesh2012 commented 5 years ago

Hello Team,

After cloning the repo, i ran below command to scan below images image. Please suggest where things going wrong

OS: Ubuntu 18.04 python : verision 3.7 and 2.7 both installed and uptodate

On scanning i am getting TPConnection object at 0x7fca3b422ef0>: Failed to establish a new connection: [Errno 111] Connection refused')) PFB screenshot image

Kind regards Ajitesh

eliasgranderubio commented 5 years ago

Hi @Ajitesh2012 ,

Have you run the start sub-command before try to check any docker image?

Regards.

Ajitesh2012 commented 5 years ago

Hi Elias,

Thankou for the reply i figure it out i had ran about command earlier was well. issue was with pip version by default i have been installing pip in version 2.7 but application works with pip3 so i install pip3 for pyhton 3.7 and it worked.

root@pc101:~/dagda/dagda# python3 dagda.py docker images [ { "created": "2019-07-16 13:57:04", "id": "1160e60f64f1", "size": "385.3MB", "tags": [ "bkimminich/juice-shop:latest" ] }, { "created": "2019-07-10 22:20:30", "id": "7bb157f0dd75", "size": "826.5MB", "tags": [ "sonarqube:latest" ] }, { "created": "2018-10-12 17:49:01", "id": "ab0d83586b6e", "size": "678.8MB", "tags": [ "vulnerables/web-dvwa:latest"

Kinds Regards Ajitesh Baloria