spiderfoot icon indicating copy to clipboard operation
spiderfoot copied to clipboard

Docker full installation doesn't work

Open Omicron166 opened this issue 2 years ago • 9 comments

I built the container with the command docker-compose -f docker-compose.yml -f docker-compose-full.yml up and it throws this:

Creating spiderfoot ... done
Attaching to spiderfoot
spiderfoot    | /usr/bin/env: ‘python3\r’: No such file or directory

Omicron166 avatar Apr 08 '22 22:04 Omicron166

I can't reproduce this. Are you definitely using the latest version? Could you share the contents of both files and the version of docker you're using?

smicallef avatar Apr 09 '22 13:04 smicallef

Docker version 20.10.14, build a224086 docker-compose version 1.29.2, build 5becea4c Docker Desktop 4.7.0 (77141) All over WSL 2 on windows 10.0.19044.1620

The wsl backend works and i already ran virtual machines on this pc. Also, the image from docker build -t spiderfoot . works fine, so this isn't the problem

Omicron166 avatar Apr 09 '22 15:04 Omicron166

Update: docker-compose -f docker-compose.yml -f docker-compose-dev.yml up also throws the same error only docker-compose -f docker-compose.yml up works

Omicron166 avatar Apr 09 '22 15:04 Omicron166

Are you using the latest version of SpiderFoot from the master branch? Please also ensure you kill any running spiderfoot container, build, and then run the docker-compose:

  1. docker ps -> kill any spiderfoot containers
  2. cd to your spiderfoot installation (cloned repo) folder.
  3. docker build -t spiderfoot .
  4. docker-compose -f docker-compose.yml -f docker-compose-dev.yml up

Following the above steps on a Linux machine works successfully for me.

smicallef avatar Apr 11 '22 06:04 smicallef

I keep track of the containers thought docker desktop GUI, that isn't the problem.

The container build is successfull, it fails when running spiderfoot. I can even restart the docker-compose container.

Omicron166 avatar Apr 11 '22 18:04 Omicron166

I just updated docker and refreshed the repo, the bug still being in the master branch

Creating spiderfoot ... done Attaching to spiderfoot spiderfoot | /usr/bin/env: 'python3\r': No such file or directory

Omicron166 avatar Apr 19 '22 15:04 Omicron166

I'm wondering if this issue is specific to Windows. Have you been able to try this on a non-Windows system?

smicallef avatar Apr 19 '22 19:04 smicallef

Nope, i only tested under windows, i'll try to build it on a linux virtual machine

Omicron166 avatar Apr 20 '22 17:04 Omicron166

The same for me on windows machine. Don't have ability to test on Linux.

RufatRoot avatar Mar 13 '23 16:03 RufatRoot