Rancher supports provisioning Packet hosts using docker machine
.
In order to launch a Packet host, you’ll need an API Key. Log in to your Packet account.
Navigate to the api-key page. If you haven’t created an api key, you’ll need to add one.
In the new api key screen, you’ll put in a description (e.g. Rancher) and click Generate.
The newly created Token will be visible for you to copy and use in Rancher.
Now that we’ve found our Token, we are ready to launch our Packet host(s). Under the Infrastructure -> Hosts tab, click Add Host. Select the Packet icon.
docker machine
supports for Packet is also supported by Rancher.docker-machine create
command with Docker engine options.Once you click on create, Rancher will create the Packet and launch the rancher-agent container. In a minute or two, the host will be active and available for services.