I installed docker-compose through
$ sudo apt-get install docker-compose-plugin
and as I see by the output of dpkg -L docker-compose-plugin:
/.
/usr
/usr/libexec
/usr/libexec/docker
/usr/libexec/docker/cli-plugins
/usr/libexec/docker/cli-plugins/docker-compose
/usr/share
/usr/share/doc
/usr/share/doc/docker-compose-plugin
/usr/share/doc/docker-compose-plugin/changelog.Debian.gz
it is installed to /usr/libexec/docker/cli-plugins/docker-compose
Should I not install it through the package docker-compose-plugin ?
Obviously the terminal doesn't find it there. Is this really the correct way to install docker-compose? And if so, how do I make the binary available to my system, for example such that it is also found by the which command.
I can only run it with the whole qualified path $ /usr/libexec/docker/cli-plugins/docker-compose
Btw why is it obviously installed to a folder (/usr/libexec/) where the system doesn't seem to look for the binary?
Thanks