@classmethod
def get(cls, client, name):
    """Get a container by name."""
    response = client.api.containers[name].get()
    container = cls(client, **response.json()['metadata'])
    return container
