Run SecLists from a Docker Container

Avoid copying huge wordlists into every container.

Example

docker run --rm -it   -v ~/SecLists:/opt/SecLists   kali:latest bash

Inside the container:

gobuster dir -u https://target -w /opt/SecLists/Discovery/Web-Content/raft-medium-directories.txt

Diagram

  flowchart LR
    A[Host SecLists] -->|bind mount| B[Docker container]
    B --> C[Scanning tools]

Use read-only mounts (-v ~/SecLists:/opt/SecLists:ro) to prevent accidental modifications.