who has ever tried following this tutorial about Docker Swarm?
https://docs.docker.com/get-started/part4/
There is a section called : Create a cluster. What I wanted to do was to create a couple of VMs using docker-machine. Since I use ubuntu16.0.4 so I used following commands to get VirtualBox.
sudo apt-get update
sudo apt-get install virtualbox-5.2
After I installed VirtualBox, typed a command like :
docker-machine create --driver virtualbox myvm1
But it says :
sudo: docker-machine: command not found
So I typed another command to check if I have installed VirtualBox correctly.
sudo virtualbox version
This opens the Oracle VM VirtualBox Manager, which means I did install VirtualBox correctly , but not sure.
Could anyone help me with a proper solution?
Any help would be appreciated.
question from:
https://stackoverflow.com/questions/47301434/sudo-docker-machine-command-not-found 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…