WebPagetest Forums
--shaper none option does not work - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: WebPagetest (/forumdisplay.php?fid=7)
+--- Forum: Private Instances (/forumdisplay.php?fid=12)
+--- Thread: --shaper none option does not work (/showthread.php?tid=16156)



--shaper none option does not work - tcaresvia - 07-31-2020 02:22 AM

Hi,
Was trying to use the "--shaper none" option when starting my Dockerized agent, but getting an error:

docker run -d -vvv -p 4001:80 --network="host" --shaper none -e "SERVER_URL=http://localhost:4000/work/" -e "LOCATION=Test" webpagetest/agent

unknown flag: --shaper

Am I missing anything?

Thanks,
Tim


RE: --shaper none option does not work - josebolos - 08-01-2020 02:37 AM

Hi Tim!

--shaper is a parameter of wptagent, not of docker, so it should be added to the EXTRA_ARGS environment variable inside the docker -e option, so it gets passed to wptagent at startup. For example:

Code:
docker run -d -vvv -p 4001:80 --network="host" -e "SERVER_URL=http://localhost:4000/work/" -e "LOCATION=Test" -e "EXTRA_ARGS=--shaper none" webpagetest/agent

I hope that it helps!


RE: --shaper none option does not work - tcaresvia - 08-01-2020 07:03 AM

Thanks very much, that worked.

Tim