def __virtual__():
    if 'docker.version' in __salt__:
        return __virtualname__
    return False
Only load if the dockerio execution module is available
dataset/ETHPy150Open saltstack/salt/salt/states/dockerio.py/__virtual__