eris/eris.py
def detect_cgroup_driver():
    """
    Detect docker cgroup parent dir based on cgroup driver type
    """
    client = docker.from_env()
    dockinfo = client.info()
    cgroup_driver = dockinfo['CgroupDriver']
    if cgroup_driver != 'cgroupfs':
        print('Unknown cgroup driver: ' + cgroup_driver)

    return cgroup_driver

    Detect docker cgroup parent dir based on cgroup driver type
    
Detect docker cgroup parent dir based on cgroup driver type
Detect docker cgroup parent dir based on cgroup driver type
def detect_cgroup_driver():
    client = docker.from_env()
    dockinfo = client.info()
    cgroup_driver = dockinfo['CgroupDriver']
    if cgroup_driver != 'cgroupfs':
        print('Unknown cgroup driver: ' + cgroup_driver)
    return cgroup_driver
def detect_cgroup_driver ( ) : client = docker . from_env ( ) dockinfo = client . info ( ) cgroup_driver = dockinfo [ 'CgroupDriver' ] if cgroup_driver != 'cgroupfs' : print ( 'Unknown cgroup driver: ' + cgroup_driver ) return cgroup_driver
Detect docker cgroup parent dir based on cgroup driver type
Detect docker cgroup parent dir based on cgroup driver type
"""
    Detect docker cgroup parent dir based on cgroup driver type
    """