Fix compatibility issues with podman system (#415)

- "dokcer inspect" doesn't return State/Status if container is not running
- "docker remove" is not a command supported by podman
- "docker logs" expect -f to be passed before container name
This commit is contained in:
Adil Hafeez 2025-02-20 16:19:48 -08:00 committed by GitHub
parent 1bbc5d2233
commit ae6b2bef59
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 4 deletions

View file

@ -121,7 +121,7 @@ def stop_arch():
["docker", "stop", ARCHGW_DOCKER_NAME],
)
subprocess.run(
["docker", "remove", ARCHGW_DOCKER_NAME],
["docker", "rm", ARCHGW_DOCKER_NAME],
)
log.info("Successfully shut down arch gateway service.")