Remove a container, force-killing if running. Idempotent.
(container: str)
| 109 | |
| 110 | |
| 111 | def rm(container: str) -> None: |
| 112 | """Remove a container, force-killing if running. Idempotent.""" |
| 113 | subprocess.run(["docker", "rm", "-f", container], capture_output=True) |
| 114 | |
| 115 | |
| 116 | def image_exists(tag: str) -> bool: |
nothing calls this directly
no outgoing calls
no test coverage detected