{"id":17003338,"url":"https://github.com/wrboyce/docker-utils","last_synced_at":"2026-03-12T01:38:23.338Z","repository":{"id":66628995,"uuid":"206277359","full_name":"wrboyce/docker-utils","owner":"wrboyce","description":"various utilities I've needed and may need again","archived":false,"fork":false,"pushed_at":"2020-01-21T00:32:07.000Z","size":30,"stargazers_count":8,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-12T06:35:09.908Z","etag":null,"topics":["docker"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/wrboyce/utils","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wrboyce.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-09-04T09:03:51.000Z","updated_at":"2025-03-26T17:01:03.000Z","dependencies_parsed_at":"2024-07-09T16:03:15.393Z","dependency_job_id":null,"html_url":"https://github.com/wrboyce/docker-utils","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wrboyce/docker-utils","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wrboyce%2Fdocker-utils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wrboyce%2Fdocker-utils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wrboyce%2Fdocker-utils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wrboyce%2Fdocker-utils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wrboyce","download_url":"https://codeload.github.com/wrboyce/docker-utils/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wrboyce%2Fdocker-utils/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30412090,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-12T00:40:14.898Z","status":"ssl_error","status_checked_at":"2026-03-12T00:40:08.439Z","response_time":84,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker"],"created_at":"2024-10-14T04:30:25.787Z","updated_at":"2026-03-12T01:38:23.333Z","avatar_url":"https://github.com/wrboyce.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker Utils\n\n## Usage\n\nAll images should be published to docker hub built for `amd64`, `arm64`, and `arm/v7`. If a desired\narchitecture is not available, then the `make gen` command can be used to generate some one-line\ncommands to have docker build the image locally.\n\n## Examples\n\n### bandwhich\n\nmonitor bandwhich usage include per-process, per-connection, and per-host views:\n\n```\ndocker run --rm -it --net=host --pid=host --privileged wrboyce/utils:bandwhich\n```\n\n### btop\n\n```\ndocker run --rm -it --net=host --pid=host --privileged wrboyce/utils:btop\n```\n\n### bwm-ng\n\nmonitor bandwidth usage on all host interfaces:\n\n```\ndocker run --rm -it --net=host wrboyce/utils:bwm-ng\n```\n\n### ctop\n\n```\ndocker run --rm -it -v /var/run/docker.sock:/var/run/docker.sock:ro wrboyce/utils:ctop\n```\n\n### htop\n\n```\ndocker run --rm -it --pid=host wrboyce/utils:htop\n```\n\n### iperf3\n\nrun an `iperf3` server:\n\n```\ndocker run --rm -i --net=host wrboyce/utils:iperf3 -s\n```\n\nrun an `iperf3` test:\n\n```\ndocker run --rm -i wrboyce/utils:iperf3 -s $server\n```\n\n### jq\n\npretty print a json file:\n\n```\ndocker run --rm -i wrboyce/utils:jq -C \u003c/path/to/file.json\n```\n\n### lsof\n\nlist all open sockets on host:\n\n```\ndocker run --rm -it -v /proc:/proc --net=host --privileged wrboyce/utils:lsof -i\n```\n\n### nmap\n\nscan all ports on the host's localhost interface:\n\n```\ndocker run --rm -it --net=host wrboyce/utils:nmap -p- -T5 localhost\n```\n\n### ntop\n\nthe default `ntop` password is 'admin', and the default port is 8888.\n\n```\ndocker run --rm -it --net=host wrboyce/utils:ntop\n```\n\n### ntpq\n\nshow ntp peers status:\n\n```\ndocker run --rm -it wrboyce/utils:ntpq -c peers 10.1.1.1\n```\n\n### rq\n\nconvert a toml file to json:\n\n```\ndocker run --rm -i wrboyce/utils:rq --input-toml --output-json \u003c/path/to/file.json\n```\n\n### strace\n\n`strace` a container's init process:\n\n```\ndocker run --rm -it --pid=container:$id --cap-add sys_ptrace wrboyce/utils:strace\n```\n\n`strace` a process on the host:\n\n```\ndocker run --rm -it --pid=host --cap-add sys_ptrace wrboyce/utils:strace -p $pid\n```\n\n### tcpdump / tshark\n\n`tcpdump` \"any\" interface on the host:\n\n```\ndocker run --rm -it --net=host --cap-add sys_ptrace wrboyce/utils:tcpdump\n```\n\n`tshark` a container's traffic on eth0:\n\n```\ndocker run --rm -it --net=container:$id wrboyce/utils:tshark -i eth0\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwrboyce%2Fdocker-utils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwrboyce%2Fdocker-utils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwrboyce%2Fdocker-utils/lists"}