use docker 'exec' instead of 'attach' for remote execution