I have downloaded docker toolbox to learn docker and I have started with docker compose topic. I had run few docker-compose command and next time when I restart the docker CLI(here docker quickstart terminal) everytime I have to run below docker-compose install commands
sudo curl -L https://github.com/docker/compose/releases/download/1.21.2/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
Is there any way to permanently install docker compose.
docker-machine ls
what is it that you see? Maybe you simply need to work in the previous docker machine and not start a new one. But this would be revealed if you gave more details on what exactly you do step by step.