def retcode(container, cmd):
    status = base_status.copy()
    return _run_wrapper(
        status, container, 'cmd.retcode', cmd)['status']
Wrapper for :py:func:`cmdmod.retcode<salt.modules.cmdmod.retcode>` inside a container context
dataset/ETHPy150Open saltstack/salt/salt/modules/dockerio.py/retcode