Closed tikimo closed 3 weeks ago
Case:
INFO Checking if Docker daemon is running
INFO Docker daemon is not running, opening Docker Desktop
ERROR An error occurred: exit status 5
@tikimo thanks for reaching out!
https://github.com/Canner/WrenAI/blob/2d13dddc3c4b146ea2f3afa3b7fe723b834a0b40/wren-launcher/utils/os.go#L57
how about changing the line to "systemctl", "--user", "start", "docker"
?
Does that work to you?
works!
The commands used check for Docker Desktop, which is not in my understanding a requirement.
This prevents the launcher from utilizing a headless Docker installation (Docker CLI) as it keeps looking for the docker-desktop. Docker desktop requires KVM, which is not available on all hosts.
https://github.com/Canner/WrenAI/blob/2d13dddc3c4b146ea2f3afa3b7fe723b834a0b40/wren-launcher/utils/docker.go#L97