Pulls the specified Docker image.
(self, image_name: str, tag: str = "latest")
| 219 | return result |
| 220 | |
| 221 | def pull_image(self, image_name: str, tag: str = "latest"): |
| 222 | """Pulls the specified Docker image.""" |
| 223 | print(f"Pulling image: {image_name}:{tag}") |
| 224 | self._run_docker_command(["pull", f"{image_name}:{tag}"]) |
| 225 | print(f"Image {image_name}:{tag} pulled successfully.") |
| 226 | |
| 227 | def run_container( |
| 228 | self, |
no test coverage detected