def __virtual__():
    if HAS_DOCKER:
        return __virtualname__
    return (False, 'dockerio execution module not loaded: docker python library not available.')
Serialize data to a JSON formated str
dataset/ETHPy150Open saltstack/salt/salt/modules/dockerio.py/__virtual__--crossover with--dataset/ETHPy150Open openshift/openshift-ansible/inventory/libvirt/hosts/libvirt_generic.py/_json_format_dict