@classmethod
def from_ps(cls, client, dictionary, **kwargs):
    """
        Construct a container object from the output of GET /containers/json.
        """
    new_dictionary = {'Id': dictionary['Id'], 'Image': dictionary['Image']}
    for name in dictionary.get('Names', []):
        if len(name.split('/')) == 2:
            new_dictionary['Name'] = name
    return cls(client, new_dictionary, **kwargs)
