dug has a docker image for easy use in any context. Using it is simple:
docker pull unfrl/dug:<version>docker run -it unfrl/dug:<version> <url>For most situations you should include the -it flags when running dug from docker (i.e. docker run -it unfrl/dug:<version> <url>), however for templated output (i.e. using --template-format {JSON or CSV) or --output-template) you should not use -it. For example, if you wanted to get JSON from the responses containing the ipaddress and the city and pipe them into jq it would look like docker run unfrl/dug:<version> <url> --output-format JSON --output-template ipaddress,city | jq
Content type
Image
Digest
sha256:06c40e1fd…
Size
116.1 MB
Last updated
20 days ago
Requires Docker Desktop 4.37.1 or later.