From d5544a6e85d03399c3f48fdbfb0c6b1c32065c65 Mon Sep 17 00:00:00 2001 From: jpic Date: Sat, 8 Aug 2020 16:07:15 +0200 Subject: [PATCH] Support configured containers in start --- shlax/container.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shlax/container.py b/shlax/container.py index acd8a4f..4daa2ba 100644 --- a/shlax/container.py +++ b/shlax/container.py @@ -49,7 +49,7 @@ class Container: if result['State'] == 'running': target.output.info(f'{self.full_name} already running') return - elif result['State'] == 'exited': + elif result['State'] in ('exited', 'configured'): target.output.info(f'{self.full_name} starting') await target.exec('podman', 'start', self.full_name) return