Support configured containers in start
This commit is contained in:
parent
ce931a2cc6
commit
d5544a6e85
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user