'Create a container without starting it. Similar to ``docker create``.
Takes the same arguments as :py:meth:`run`, except for ``stdout``,
``stderr``, and ``remove``.
Returns:
A :py:class:`Container` object.
Raises:
:py:class:`docker.errors.ImageNotFound`
If the specified image does not exist.
:py:class:`docker.errors.APIError`
If the server returns an error.'

def create(self, image, command=None, **kwargs):

    if isinstance(image, Image):
        image = image.id
    kwargs['image'] = image
    kwargs['command'] = command
    kwargs['version'] = self.client.api._version
    create_kwargs = _create_container_args(kwargs)
    resp = self.client.api.create_container(**create_kwargs)
    return self.get(resp['Id'])
