Post date: Sep 04, 2017 9:23:1 PM
Create a new VM on VirtualBox:
docker-machine create -d virtualbox --virtualbox-boot2docker-url <LOCATION-OF-RANCHEROS-ISO> <MACHINE-NAME>
The VM can be accessed using either docker-machine command:
Or via Putty. This gives a more flexible and realistic access.
docker-machine uses ssh keys to provide passwordless login.
Putty doesnt use ssh keys, it uses Putty Private Key.
Convert ssh private key using Putty-Gen, load the id-rsa file created by docker-machine
LOCATION: <user_home>\.docker\machines\<MACHINE_NAME>\id_rsa
Then use the "Save Private Key" button to save it as PPK.
Use the new ppk to attach to the host as the docker user.
docker-machine ssh <MACHINE-NAME>