Tools: How I got out of dependency hell with Docker (SpiderFoot OSINT lab) (2026)

Tools: How I got out of dependency hell with Docker (SpiderFoot OSINT lab) (2026)

1. Docker permissions

2. Clone and build

3. Run it (the easy way) I wanted to try SpiderFoot – an OSINT tool. Thought it would be a simple pip install. It crashed on lxml. Something about headers and versions. Classic dependency hell on Arch. I didn't want to mess up my main system. So I gave up on virtual environments and used Docker instead. Here's what worked.

Set this up so you don't need sudo for every command. Grab the source and build the image locally. I used the VS Code Docker extension. Built the image, then ran the container from the UI. The extension shows all running containers on my system, so I could start/stop it with one click. If you prefer the command line, this works too: Why I'm doing this

I'm a beginner in cybersecurity. I don't want to install random tools directly on my laptop. With Docker, I can try anything and delete it later without breaking stuff. This worked for me. Might work for you too. Templates let you quickly answer FAQs or store snippets for re-use. Hide child comments as well For further actions, you may consider blocking this person and/or reporting abuse

Command

Copy

$ -weight: 600;">sudo usermod -aG -weight: 500;">docker $USER newgrp -weight: 500;">docker -weight: 600;">sudo -weight: 500;">systemctl -weight: 500;">restart -weight: 500;">docker -weight: 600;">sudo usermod -aG -weight: 500;">docker $USER newgrp -weight: 500;">docker -weight: 600;">sudo -weight: 500;">systemctl -weight: 500;">restart -weight: 500;">docker -weight: 600;">sudo usermod -aG -weight: 500;">docker $USER newgrp -weight: 500;">docker -weight: 600;">sudo -weight: 500;">systemctl -weight: 500;">restart -weight: 500;">docker -weight: 500;">git clone https://github.com/smicallef/spiderfoot.-weight: 500;">git cd spiderfoot -weight: 500;">docker build -t spiderfoot . -weight: 500;">git clone https://github.com/smicallef/spiderfoot.-weight: 500;">git cd spiderfoot -weight: 500;">docker build -t spiderfoot . -weight: 500;">git clone https://github.com/smicallef/spiderfoot.-weight: 500;">git cd spiderfoot -weight: 500;">docker build -t spiderfoot . -weight: 500;">docker run -d -p 5001:5001 --name spiderfoot-app spiderfoot Either way, open http://localhost:5001 and SpiderFoot is there. -weight: 500;">docker run -d -p 5001:5001 --name spiderfoot-app spiderfoot Either way, open http://localhost:5001 and SpiderFoot is there. -weight: 500;">docker run -d -p 5001:5001 --name spiderfoot-app spiderfoot Either way, open http://localhost:5001 and SpiderFoot is there.