Verify whether docker is correctly configured, e.g. for boot2docker
Start with common logic
Adapt two further formulas for additional tests
Always use bash, not sh
Fix IP address for linux systems and move the other formulas to the new structure
Almost all commands should exit immediately