umbrel icon indicating copy to clipboard operation
umbrel copied to clipboard

Can't recognize "docker-compose" on Centos 7.9

Open nikkadim opened this issue 4 years ago • 3 comments

[centos@ip-172-2-7-1 ~]$ cat /etc/redhat-release 
CentOS Linux release 7.9.2009 (Core)
[centos@ip-172-2-7-1 ~]$ docker-compose -v       
docker-compose version 1.23.2, build 1110ad01
[centos@ip-172-2-7-1 ~]$ sudo ./scripts/start    
This script requires "docker-compose" to be installed
[centos@ip-172-2-7-1 ~]$ 

nikkadim avatar Jan 28 '21 19:01 nikkadim

I have the same issue on MacOS Big Sur (Version 11.1)

dwtien avatar Jan 31 '21 16:01 dwtien

Sudo resets $PATH, along with many other environment variables, for security reasons. So if you type sudo it changes the $PATH to the PATH of root.

Ruppsn avatar Apr 06 '21 17:04 Ruppsn

sudo env "PATH=$PATH" fixed this for me.

sbadakhc avatar Jul 01 '22 21:07 sbadakhc