Docker on a mac might be available, but may not be runnng. The way the original test was written is linux-specific anyway, so just hoist the check into the DOCKER declaration