mirror of
https://github.com/rancher/os.git
synced 2025-07-14 23:39: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:
|
||||
services:
|
||||
rancher-agent1:
|
||||
image: rancher/agent:v0.8.2
|
||||
command: http://<rancher-server-ip>:8080/v1/projects/1a5/scripts/<registrationToken>
|
||||
privileged: true
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
environment:
|
||||
CATTLE_HOST_LABELS: foo=bar&hello=world
|
||||
image: rancher/agent:v0.8.2
|
||||
command: http://<rancher-server-ip>:8080/v1/projects/1a5/scripts/<registrationToken>
|
||||
privileged: true
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
environment:
|
||||
CATTLE_HOST_LABELS: foo=bar&hello=world
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user