# 使用Rancher OS

## rancher主控台(建議RAM給大一點)

```
docker run -d --restart=unless-stopped --name=rancherMaster --net=rancherNET --ip=10.0.252.1 -p 8080:8080 rancher/server:stable
```

node1

```
docker run -d --restart=unless-stopped --name=rancherNode1 --net=rancherNET --ip=10.0.252.2 -p 8081:8080 rancher/server:stable
docker run -d --restart=unless-stopped --name=rancherNode2 --net=rancherNET --ip=10.0.252.3 -p 8082:8080 rancher/server:stable
docker run -d --restart=unless-stopped --name=rancherNode3 --net=rancherNET --ip=10.0.252.4 -p 8083:8080 rancher/server:stable

```


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://kawsing.gitbook.io/opensystem/k8s/untitled.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
