I am trying to run docker-compose using sudo.
I have both docker and docker-compose installed on Ubuntu 16.01.
Due to an error while trying to download compo
Or, just add your binary path into the PATH. At the end of the bashrc:
... export PATH=$PATH:/home/user/.local/bin/
save the file and run:
source .bashrc
and the command will work.