def InitDocker(self):
    self.CONTAINER_IMAGE = 'ubuntu:latest'
    init_docker_cmd = ['sudo docker run -d '
                       '--net=host '
                       '--workdir=%s '
                       '-v %s:%s ' % (CONTAINER_WORK_DIR,
                                      vm_util.VM_TMP_DIR,
                                      CONTAINER_MOUNT_DIR)]
    for sd in self.scratch_disks:
      init_docker_cmd.append('-v %s:%s ' % (sd.mount_point, sd.mount_point))
    init_docker_cmd.append('%s sleep infinity ' % self.CONTAINER_IMAGE)
    init_docker_cmd = ''.join(init_docker_cmd)

    resp, _ = self.RemoteHostCommand(init_docker_cmd)
    self.docker_id = resp.rstrip()
    return self.docker_id
generated source for method reqContractDetails
dataset/ETHPy150Open GoogleCloudPlatform/PerfKitBenchmarker/perfkitbenchmarker/linux_virtual_machine.py/ContainerizedDebianMixin.InitDocker--crossover with--dataset/ETHPy150Open CarterBain/Medici/ib/ext/EClientSocket.py/EClientSocket.reqContractDetails