Add container inspect

This commit is contained in:
jpic 2020-08-28 18:37:25 +02:00
parent 9124e93dca
commit d9e74c2538

View File

@ -80,8 +80,12 @@ class Container:
"""Start the container"""
await target.exec('podman', 'stop', self.full_name)
async def inspect(self, target):
"""Inspect container"""
await target.exec('podman', 'inspect', self.full_name)
async def logs(self, target):
"""Start the container"""
"""Show container logs"""
await target.exec('podman', 'logs', self.full_name)
async def exec(self, target, cmd=None):