code: function docker(cwd, cmd) {
    console.log(cwd, chalk.blue('running docker', cmd));
    return spawn('docker', (cmd || 'build .').split(' '), {cwd, env});
  }
docs: runs docker command
  @param cwd
  @param cmd
  @return {*}