Name: ui-driver-skel
Owner: Rancher
Description: Skeleton Rancher UI driver for custom docker-machine drivers
Created: 2016-04-11 23:54:49.0
Updated: 2018-04-27 14:36:22.0
Pushed: 2018-05-13 14:47:00.0
Size: 25
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Skeleton Rancher UI driver for custom docker-machine drivers
ui-driver-DRIVERNAME
docker-machine create --driver
, e.g. “mycompany”, “digitalocean”, “vultr”, etc.npm install
This package contains a small web-server that will serve up the custom driver UI at http://localhost:3000/component.js
. You can run this while developing and point the Rancher settings there.
npm start
npm start -- --name=DRIVERNAME
For other users to see your driver, you need to build it and host the output on a server accessible from their browsers.
npm run build
dist
directory onto a webserver.DRIVERNAME
(see above).https://github.com/mycompany/docker-machine-mycompany/releases/download/v1.0.0/docker-machine-driver-mycompany-v1.0.0-linux-amd64.tar.gz
)dist
folder to, e.g. https://github.com/mycompany/ui-driver-mycompany/releases/download/v1.0.0/component.js
)