> For the complete documentation index, see [llms.txt](https://docs.ionos.com/cloud/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ionos.com/cloud/tools-docker-machine-driver/rancher/rancher-machine.md).

# Rancher Machine

## Authentication

Before you create a Rancher Machine with Ionos Cloud Docker Machine Driver, make sure you followed the [Authentication](/cloud/tools-docker-machine-driver/usage/authentication.md) steps.

## Rancher Machine Create Command

In order to create Rancher Machine with Ionos Cloud Rancher Machine Driver, run:

```
rancher-machine create --driver ionoscloud test-machine
```

For Windows users:

```
rancher-machine create --driver ionoscloud.exe test-machine
```

It should produce results similar to this:

```
Running pre-create checks...
Creating machine...
(test-machine) Creating SSH key...
(test-machine) DataCenter Created
(test-machine) IPBlock Reserved
(test-machine) LAN Created
(test-machine) Server Created
(test-machine) Volume Attached to Server
(test-machine) NIC Attached to Server
(test-machine) 158.222.102.161
Waiting for machine to be running, this may take a few minutes...
Detecting operating system of created instance...
Waiting for SSH to be available...
Detecting the provisioner...
Provisioning with ubuntu(systemd)...
Installing Docker from: https://get.docker.com
Copying certs to the local machine directory...
Copying certs to the remote machine...
Setting Docker configuration on the remote daemon...
Checking connection to Docker...
Docker is up and running!
To see how to connect your Docker Client to the Docker Engine running on this virtual machine, run: rancher-machine env test-machine
```

After creating a machine it is recommended to configure your shell, to set up your environment for the Docker client:

```
eval $(rancher-machine env test-machine)
```

All the resources created will be named with the machine name, in this example `test-machine`.

The example above uses mostly the default values and the resources will therefore be created in the `us/las` location. To change that or to see more options that can be used with this command, check the [Options](/cloud/tools-docker-machine-driver/usage/options.md) section.

For more available commands and examples on how to manage a Rancher Machine, check the [Commands](/cloud/tools-docker-machine-driver/usage/commands.md) section or use `rancher-machine help` command.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.ionos.com/cloud/tools-docker-machine-driver/rancher/rancher-machine.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
