Use Sys.which() to find docker executable
Switch class order for localhost
Better function summary