mirror of
https://github.com/rancher/os.git
synced 2025-07-17 00:21:03 +00:00
Update doc about running Rancher on RancherOS
https://github.com/rancher/os/issues/1962
This commit is contained in:
parent
868a4b01ce
commit
a5af88224a
@ -91,12 +91,12 @@ Adding more than one host label requires joining the additional host labels with
|
|||||||
rancher:
|
rancher:
|
||||||
services:
|
services:
|
||||||
rancher-agent1:
|
rancher-agent1:
|
||||||
image: rancher/agent:v0.8.2
|
image: rancher/agent:v0.8.2
|
||||||
command: http://<rancher-server-ip>:8080/v1/projects/1a5/scripts/<registrationToken>
|
command: http://<rancher-server-ip>:8080/v1/projects/1a5/scripts/<registrationToken>
|
||||||
privileged: true
|
privileged: true
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
environment:
|
environment:
|
||||||
CATTLE_HOST_LABELS: foo=bar&hello=world
|
CATTLE_HOST_LABELS: foo=bar&hello=world
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user