docker run
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
root
2024-08-08 09:20:11 +02:00
parent 0444da3e7d
commit 89441feed6

View File

@@ -115,17 +115,16 @@ Sub StartWSL()
ShowOutput(objExec) ShowOutput(objExec)
WSL = "wsl.exe --user root --exec docker run -d -v /var/run/docker.sock:/var/run/docker.sock registry.format.hu/framework-scheduler" WSL = "wsl.exe --user root --exec docker run -d -v /var/run/docker.sock:/var/run/docker.sock registry.format.hu/framework-scheduler"
'WSL = "wsl.exe --user root --exec ls" intReturn = objShell.Run(WSL, 0, True)
'intReturn = objShell.Run(WSL, 0, True)
Set objExec = objShell.Exec(WSL)
ShowOutput(objExec) If Err.Number <> 0 Then
MsgBox (Err.number & "-" & err.Description)
'If Err.Number <> 0 Then else
' MsgBox (Err.number & "-" & err.Description) MsgBox "Framework scheduler has started"
'else WSL = "wsl.exe --user root --exec docker logs -f framework-scheduler"
' MsgBox "Docker run OK" Set objExec = objShell.Exec(WSL)
'End If ShowOutput(objExec)
End If
End Sub End Sub
Sub MapDrive(DriveLetter,DrivePath) Sub MapDrive(DriveLetter,DrivePath)