def container(self, image: str, **kwargs) -> container.Container: # Return a remote docker container. return container.DockerContainer(self._docker_client, get_address(self), image, **kwargs)
def container(self, image: str, **kwargs) -> container.Container: # Return a local docker container directly. return container.DockerContainer(self._docker_client, get_address(self), image, **kwargs)