()
return os_type == 'windows'
Returns a `bool` indicating whether or not Docker is configured to use Windows containers.
Returns a `bool` indicating whether or not Docker is configured to use Windows containers.
Returns a bool indicating whether or not Docker is configured to use Windows containers .
def using_windows_containers():
    """
    Returns a `bool` indicating whether or not Docker is configured to use Windows containers.
    """
    os_type = run_command(['docker', 'info', '--format', '{{.OSType}}'], capture=True, check=True).stdout.strip()
    return os_type == 'windows'
def using_windows_containers ( ) : os_type = run_command ( [ 'docker' , 'info' , '--format' , '{{.OSType}}' ] , capture = True , check = True ) . stdout . strip ( ) return os_type == 'windows'