def container_running(client, container, duration=2):

    time.sleep(duration)
    config = client.inspect_container(container)
    return config['State']['Running']
Calculate an assignment of the available CPU cores to a number
dataset/ETHPy150Open d11wtq/dockerpty/tests/util.py/container_running--crossover with--dataset/ETHPy150Open sosy-lab/benchexec/benchexec/resources.py/get_cpu_cores_per_run