Do not use Docker API
Refactor apiRun