small refactor to docker_run to not fork docker_run for shell commands