Open RRFfm opened 2 years ago
As a workaround you might as well create an executable file /usr/local/bin/docker-compose
on the docker host with the following content:
#!/bin/sh
/usr/bin/docker compose "$@"
As a workaround you might as well create an executable file
/usr/local/bin/docker-compose
on the docker host with the following content:#!/bin/sh /usr/bin/docker compose "$@"
After that, if you got permission problems, do this:
sudo chmod +x /usr/local/bin/docker-compose
Then if you still have problems with docker permissions, i.e. I had this being thrown:
permission denied while trying to connect to the Docker daemon socket...<....>
Solved it using reply for this SO post
$ sudo groupadd docker
$ sudo usermod -aG docker $USER
$ newgrp docker
I use ‚Compose V2‘ on my device, so ‚docker-compose’ ist not available and the script fails. As a quickfix, I changed all ‚docker-compose‘ to ‚docker compose‘.