Skip to content

Instantly share code, notes, and snippets.

@baude
Created August 11, 2015 14:10
Show Gist options
  • Select an option

  • Save baude/705f636775cf46d5e127 to your computer and use it in GitHub Desktop.

Select an option

Save baude/705f636775cf46d5e127 to your computer and use it in GitHub Desktop.
@slip.dbus.polkit.require_auth("org.atomic.read")
@dbus.service.method("org.atomic.Scanner", in_signature='s', out_signature='aa{sv}')
def inspect_container(self, cid):
''' Returns inspect data of a container'''
inspect_data = self.docker_conn.inspect_container(cid)
print type(inspect_data)
return inspect_data
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment