How to use the runlike.inspector.Inspector function in runlike

To help you get started, we’ve selected a few runlike examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github lavie / runlike / test_runlike.py View on Github external
def setUpClass(cls):
        check_output("./fixtures.sh")
        cls.outputs = {}
        for i in range(5):

            ins = Inspector("runlike_fixture%d" % (i + 1), True, True)
            ins.inspect()
            cls.outputs[i + 1] = ins.format_cli()
github lavie / runlike / runlike / runlike.py View on Github external
def cli(container, no_name, pretty):

    # TODO: -i, -t, -d as added options that override the inspection
    ins = Inspector(container, no_name, pretty)
    ins.inspect()
    print(ins.format_cli())

runlike

Reverse-engineer docker run command line arguments based on running containers

MIT
Latest version published 2 months ago

Package Health Score

61 / 100
Full package analysis

Similar packages