Skip to content

Commit

Permalink
fix:安装管理工具
Browse files Browse the repository at this point in the history
  • Loading branch information
fishros committed Nov 5, 2023
1 parent 5f317d7 commit 5cfed87
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/tool_install_proxy_tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ def install_docker(self):
"""安装Docker"""
PrintUtils.print_success("================================安装Docker======================================")
result = CmdTask("docker version").run()
if(result[0]==0): return
run_tool_file('tools.tool_install_docker')
if(result[0]!=0):
run_tool_file('tools.tool_install_docker')
PrintUtils.print_success("================================安装管理工具======================================")
CmdTask('sudo docker run -p 1234:80 -d --name yacd --rm ghcr.io/haishanh/yacd:master',os_command=True).run()
CmdTask('sudo docker run -p 1234:80 -d --name yacd --rm ghcr.io/haishanh/yacd:master',os_command=True).run()
Expand Down

0 comments on commit 5cfed87

Please sign in to comment.