Docker Siege built on Debian 9 Slim
10K+
The has a default ENTRYPOINT of siege and all arguments passed after the container image will pass to siege. The default argument is --help.
To skip the bundled configuration files in the image, and use local files in the current directoy, bind mount it to /app using the -v flag.
For example using this repository and you want to create a URL list to pass to siege called urls.txt without having to re-build the container image,
docker pull linuxspecialist/docker-siege
docker run -it --rm -v $(pwd):/app linuxspecialist/docker-siege -c 50 -f /app/urls.txt -R /app/siege.conf
The -v $(pwd):/app will bind mount your current directory to /app within the container, letting you use local files.
Runnig this container using the image in Docker Hub as a Jenkins job requires not including the -t option, otherwise Jenkins will give an error.
To update the version fo Siege, find the latest version from the Siege Downloads page and in the Dockerfile update the SIEGE_VERSION variable and re-build,
docker build -t linuxspecialist/docker-siege .
Content type
Image
Digest
Size
25.5 MB
Last updated
over 8 years ago
docker pull linuxspecialist/docker-siege