- First run the Tor proxy docker :
docker run -d --restart always -v /etc/localtime:/etc/localtime:ro -p 127.0.0.1:9050:9050 --name torproxy jess/tor-proxy
- Then launch your sqlmap docker :
docker run -it --link torproxy:torproxy --rm -v $PWD/sqlmapdata:/home/sqlmap/.sqlmap:rw ilyaglow/sqlmap --proxy socks5://torproxy:9050 --check-tor --random-agent -u "example.com"