Repository name in GitHub Container Registry (new): ghcr.io/william-yeh/wrk and in Docker Hub (old): williamyeh/wrk
This repository contains Dockerized wrk, published to the public container registry via automated build mechanism.
This docker image contains the following software stack:
-
Distroless debian 11
-
Basic libgcc stuff.
-
wrk
Total image size is less than 30 MB.
-
4.2.0 - Change base image from
williamyeh/ansible:mini-alpine3
togcr.io/distroless/cc-debian11
. -
4.0.2 - Change base image from
scratch
towilliamyeh/ansible:mini-alpine3
(beginning fromwilliamyeh/wrk:4.0.2
). -
4.0.1 - Change base image from
debian:jessie
toscratch
(beginning fromwilliamyeh/wrk:4.0.1
). -
1.2 - Add: demo screencast.
-
1.1 - Add: VOLUME
/data
for Lua script file. -
1.0 - Initial release.
Pull all versions:
$ docker pull ghcr.io/william-yeh/wrk:latest
Pull specific version:
$ docker pull ghcr.io/william-yeh/wrk:4.2.0
See the following screencast for a simple comparison between native vs. Dockerized versions of wrk: http://youtu.be/bXF6blDP0s0
$ docker run --rm ghcr.io/william-yeh/wrk
$ docker run --rm -v `pwd`:/data \
ghcr.io/william-yeh/wrk \
-s script.lua http://www.google.com/
Digital Ocean has a great introduction to this utility: How To Benchmark HTTP Latency with wrk on Ubuntu 14.04