#NEWLINE# def version( ) : #NEWLINE# #INDENT# "\n    Get docker version\n\n    CLI Example:\n\n    .. code-block:: bash\n\n        salt '*' docker.version\n    " #NEWLINE# status = base_status . copy ( ) #NEWLINE# client = _get_client ( ) #NEWLINE# try : #NEWLINE# #INDENT# docker_version = client . version ( ) #NEWLINE# _valid ( docker_version , out = docker_version ) #NEWLINE# #UNINDENT# except Exception : #NEWLINE# #INDENT# _invalid ( status , out = traceback . format_exc ( ) ) #NEWLINE# #UNINDENT# return status