fix clean on bare provisioner

* add some spec test to verify the version of docker
* Fix proxy off state in proxy.sh

Change-Id: I6e118a6ffb7d20876697e92655f592c5a3285261