Beispiel #1
0
 def container(self, image: str, **kwargs) -> container.Container:
     # Return a remote docker container.
     return container.DockerContainer(self._docker_client,
                                      get_address(self), image, **kwargs)
Beispiel #2
0
 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)