mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-09-26 04:58:07 +00:00
Merge pull request #1507 from niusmallnan/ros-docker-bip
Add bip config item for ros docker/system-docker
This commit is contained in:
@@ -36,6 +36,7 @@ Many of the standard Docker daemon arguments can be placed under the `rancher.do
|
|||||||
Key | Value
|
Key | Value
|
||||||
---|---
|
---|---
|
||||||
`bridge` | String
|
`bridge` | String
|
||||||
|
`bip` | String
|
||||||
`config_file` | String
|
`config_file` | String
|
||||||
`containerd` | String
|
`containerd` | String
|
||||||
`debug` | Boolean
|
`debug` | Boolean
|
||||||
@@ -78,6 +79,16 @@ rancher:
|
|||||||
extra_args: [--mtu, 1460]
|
extra_args: [--mtu, 1460]
|
||||||
```
|
```
|
||||||
|
|
||||||
|
#### Example using bip for docker0 bridge
|
||||||
|
|
||||||
|
_Available as of v1.4.x_
|
||||||
|
|
||||||
|
The docker0 bridge can be configured with docker args, it will take effect after reboot.
|
||||||
|
|
||||||
|
```
|
||||||
|
$ ros config set rancher.docker.bip 192.168.100.1/16
|
||||||
|
```
|
||||||
|
|
||||||
### Configuring System Docker
|
### Configuring System Docker
|
||||||
|
|
||||||
In your cloud-config, System Docker configuration is located under the `rancher.system_docker` key.
|
In your cloud-config, System Docker configuration is located under the `rancher.system_docker` key.
|
||||||
|
|||||||
Reference in New Issue
Block a user