Updates rancher host IP when it changes.
1.2K
Updates rancher host IP when it changes.
docker run --rm -v /var/run/docker.sock:/var/run/docker.sock -it interlegis/rancher-reset-host-ip
update-host-ip:
log_driver: ''
net: host
labels:
io.rancher.scheduler.global: 'true'
io.rancher.container.pull_image: always
io.rancher.container.start_once: 'true'
tty: true
log_opt: {}
image: interlegis/rancher-reset-host-ip
volumes:
- /var/run/docker.sock:/var/run/docker.sock
stdin_open: true
The container used to add the host to Rancher must be named "rancher-agent-bootstrap"
Content type
Image
Digest
Size
30.5 MB
Last updated
about 10 years ago
docker pull interlegis/rancher-reset-host-ip