eris/eris.py
def list_pids(container):
    """
    list all process id of one container
        container - container object listed from Docker
    """
    procs = container.top()['Processes']
    pids = [pid[1] for pid in procs] if procs else []
    return [tid for pid in pids
            for tid in os.listdir('/proc/' + pid + '/task')] if pids else []

    list all process id of one container
        container - container object listed from Docker
    
list all process id of one container
container - container object listed from Docker
list all process id of one container container - container object listed from Docker
def list_pids(container):
    procs = container.top()['Processes']
    pids = [pid[1] for pid in procs] if procs else []
    return [tid for pid in pids
            for tid in os.listdir('/proc/' + pid + '/task')] if pids else []
def list_pids ( container ) : procs = container . top ( ) [ 'Processes' ] pids = [ pid [ 1 ] for pid in procs ] if procs else [ ] return [ tid for pid in pids for tid in os . listdir ( '/proc/' + pid + '/task' ) ] if pids else [ ]
list all process id of one container
container - container object listed from Docker
list all process id of one container container - container object listed from Docker
"""
    list all process id of one container
        container - container object listed from Docker
    """
container