https://rancher.com/ logo
Title
a

acoustic-tiger-92861

05/16/2023, 6:24 AM
Hi, Can someone please help with docker-machine command for rke2? Example docker machine command for rke1 docker-machine -D create -d oci --engine-install-url https://releases.rancher.com/install-docker/20.10.sh
a

agreeable-oil-87482

05/16/2023, 6:58 AM
There's no such thing. RKE2 doesn't use docker-machine provisioning, nor does it even use Docker.
a

acoustic-tiger-92861

05/16/2023, 7:09 AM
ok, Can you help me with steps to run provisioning from my local without running it from rancher UI. I want to debug my plugin code for rke2.
a

agreeable-oil-87482

05/16/2023, 7:11 AM
You want to mimic the provisioning process from Rancher?
Or just stand up a RKE2 cluster?
a

acoustic-tiger-92861

05/16/2023, 7:25 AM
Just provision a RKE2 cluster from my local plugin code. something similar to docker-machine command I used for provisioning rke2 cluster.
a

agreeable-oil-87482

05/16/2023, 7:25 AM
You could just run the binary directly
RKE2 is packaged as a single binary, it's very different from RKE1
a

acoustic-tiger-92861

05/16/2023, 11:02 AM
Basically, I am working on a plugin something like below:- https://github.com/jlamillan/rancher-machine-driver-oci It get bundled in rancher as Node driver, I want to execute this from my local setup without the Rancher UI. Directly running the driver will not work. We need to pass command line arguments.