https://rancher.com/ logo
Title
s

some-manchester-46599

04/27/2023, 2:46 AM
Hi Team, I have recently installed the Ranchel desktop but when I am trying to run command 'docker-compose up -d' getting below error: error during connect: this error may indicate that the docker daemon is not running: Get "http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/containers/json?all=1&filters=%7B%22label%22%3A%7B%22com.docker.compose.config-hash%22%3Atrue%2C%22com.docker.compose.project%3Dd822718%22%3Atrue%7D%7D": open //./pipe/docker_engine: The system cannot find the file specified. Can someone please help?
w

wooden-spoon-95626

04/27/2023, 3:41 AM
You can check if you are running the docker-compose from ~/.rd/bin. Also, make sure you use dockerd instead of containerd in preferences.
đź‘Ť 1
s

some-manchester-46599

04/27/2023, 11:24 PM
Hi @wooden-spoon-95626, Thanks for your reply.. Yes I am using dockerd instead of containerd. Also could you please elaborate more on below: 'running the docker-compose from ~/.rd/bin.'
w

wooden-spoon-95626

04/28/2023, 10:00 PM
If you run
which docker-compose
, it should return $HOME/.rd/bin/docker-compose. If not, you can either turn on “Automatic” path configuration in Preferences->Application->Environment, or add ~/.rd/bin to the beginning of your $PATH. If you dont want to do either of those, you can simply run
${HOME}/.rd/bin/docker-compose -f your_docker_compose.yaml up
s

some-manchester-46599

04/29/2023, 4:38 AM
I am using windows machine..Also the issue my docker is not getting started. Usually after opening Rancher desktop, the icon color should be changed to green but it is not happening.
p

prehistoric-monitor-1181

05/01/2023, 7:14 PM
could you try running
docker compose up -d
? I think there's a typo in your command as docker compose should be 2 separate words (no dash). As in https://docs.docker.com/engine/reference/commandline/compose_up/