Closed jbrownsc closed 7 years ago
Sorry for the delay. Would something like the following work for the Wiki?
The included Dockerfile allows you to build slowhttptest in a containerized Docker environment to avoid polluting your system with development dependencies. You can also use the Docker container for deploying slowhttptest to Kubernetes (Job), Mesos/DCOS (Task), Docker Swarm, etc... if that suites your needs.
docker build -t slowhttptest:latest .
docker run slowhttptest:latest <slowhttptest args>
If you make changes to the source, just re-run the steps and the changes will generate a new container with the updated binary inside the container.
If you don't want to run "docker run" over and over... you can get an interactive shell: docker run -ti --entrypoint sh slowhttptest:latest
then run slowhttptest
(it's in the path)
This looks great. Put it anywhere in Installation and Usage, I'll try to reorganize wiki this weekend anyway.
Thanks! Can you please document when and how docker environment is beneficial to use?