<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get(self, container_id):
 """ Get a container by name or ID. Args: container_id (str):
 Container name or ID. Returns: A :py:class:`Container` object. Raises: :py:class:`docker.errors.NotFound` If the container does not exist. :py:class:`docker.errors.APIError` If the server returns an error. """

        resp = self.client.api.inspect_container(container_id)
        return self.prepare_model(resp)