Open svenfinke opened 3 years ago
I have successfully run docker_dev_setup
in WSL2 with minor hiccup, but it is doable (everything run in WSL2)
since I figured out that function for daemon run check only does by running service
or systemctl
command,
and AFAIK for WSL2 with docker desktop windows, no fix for checking docker service run with internal service commands,
meanwhile docker service should be up and running via from windows docker-desktop to wsl2 backend (running docker
in wsl would give expected result),
So, by simply skipping the check, will allow the script to continue to install
To skip the check, simply comment out the start_docker_daemon
in ./script/common/os/linux/dev_setup.sh
on line 25
Summary:
I tried to install Canvas with the docker_dev_setup script under Ubuntu 20.04 in WSL 2. In this case I don't have access to systemctl or service under ubuntu, so the docker deamon won't run as a traditional service. But the docker daemon is running and is being started by my .bashrc file.
Steps to reproduce:
Expected behavior:
Install succeeds as docker daemon is running.
Actual behavior:
Install fails because the scripts checks for the service and not acutally if the daemon is running.
Additional notes: