Mac OSX that has docker installed via brew (and maybe others?) expect docker command to be run as the user and not with sudo. So the kitchen driver needs to have the line use_sudo: false added as in:
If you don't do that, when you even run rake -T you will get all sorts of errors from the line Kitchen::RakeTasks.new in the Rakefile cause it trys to do sudo -E docker > /dev/null and fails spewing error messages.
Mac OSX that has docker installed via brew (and maybe others?) expect docker command to be run as the user and not with sudo. So the kitchen driver needs to have the line
use_sudo: false
added as in:If you don't do that, when you even run
rake -T
you will get all sorts of errors from the lineKitchen::RakeTasks.new
in the Rakefile cause it trys to dosudo -E docker > /dev/null
and fails spewing error messages.