https://github.com/wrboyce/docker-utils
various utilities I've needed and may need again
https://github.com/wrboyce/docker-utils
docker
Last synced: 4 months ago
JSON representation
various utilities I've needed and may need again
- Host: GitHub
- URL: https://github.com/wrboyce/docker-utils
- Owner: wrboyce
- License: apache-2.0
- Created: 2019-09-04T09:03:51.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2020-01-21T00:32:07.000Z (over 6 years ago)
- Last Synced: 2025-04-12T06:35:09.908Z (over 1 year ago)
- Topics: docker
- Language: Dockerfile
- Homepage: https://hub.docker.com/r/wrboyce/utils
- Size: 29.3 KB
- Stars: 8
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Docker Utils
## Usage
All images should be published to docker hub built for `amd64`, `arm64`, and `arm/v7`. If a desired
architecture is not available, then the `make gen` command can be used to generate some one-line
commands to have docker build the image locally.
## Examples
### bandwhich
monitor bandwhich usage include per-process, per-connection, and per-host views:
```
docker run --rm -it --net=host --pid=host --privileged wrboyce/utils:bandwhich
```
### btop
```
docker run --rm -it --net=host --pid=host --privileged wrboyce/utils:btop
```
### bwm-ng
monitor bandwidth usage on all host interfaces:
```
docker run --rm -it --net=host wrboyce/utils:bwm-ng
```
### ctop
```
docker run --rm -it -v /var/run/docker.sock:/var/run/docker.sock:ro wrboyce/utils:ctop
```
### htop
```
docker run --rm -it --pid=host wrboyce/utils:htop
```
### iperf3
run an `iperf3` server:
```
docker run --rm -i --net=host wrboyce/utils:iperf3 -s
```
run an `iperf3` test:
```
docker run --rm -i wrboyce/utils:iperf3 -s $server
```
### jq
pretty print a json file:
```
docker run --rm -i wrboyce/utils:jq -C