Closed STH-Dev closed 10 years ago
Actually, I have a Docker version already made and have been using it for a few months. That's how I have been doing development and that's also why I added the Docker check in the existing STHbench.sh code to skip updates and whatnot:
if [ -f /.dockerinit ] ; then
echo "In a Docker container, no updates run."
https://github.com/chuckleb/docker-sthbench
I haven't updated it in a while but it's set to run the STHbench-Dev012.11.sh version. If we change names to a static name, I can change it.
Added environment VIRTUAL to check for in output. Defaults to FALSE if unset, Docker detect will set to TRUE and can be overridden by user at runtime via export VIRTUAL=TRUE if they are running virtualized (ESX, Amazon, KVM, etc).
993eb3fd12318764c72464031c9138165f47b811
I think a Docker version would be awesome. Can we add something in the script to identify if it is being run in Docker?
The other bit is we should have something to check and figure out if it is being run in some sort of virtualization. That way we can easily categorize results and ensure that we know what type of processor environment we are working on.