Perhaps move this method above run_container()?