Skip to content

Commit 52e75c7

Browse files
Update networking section in README.md.
1 parent c49fd13 commit 52e75c7

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

README.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ mounts = [
120120
**NOTE:** `host` and `bridge` are mutually exclusive options, and only one of them should be used at a time.
121121

122122
1. **Host** network can be enabled by setting `host_network` to `true` in task config
123-
of the job spec [Check under [`Supported options`](https://github.com/Roblox/nomad-driver-containerd#supported-options)].
123+
of the job spec (see under [`Supported options`](https://github.com/Roblox/nomad-driver-containerd#supported-options)).
124124

125125
2. **Bridge** network can be enabled by setting the `network` stanza in the task group section of the job spec.
126126

@@ -129,12 +129,14 @@ network {
129129
mode = "bridge"
130130
}
131131
```
132-
You need to install CNI plugins on nomad client nodes under `/opt/cni/bin` before you can use `bridge` networks.
132+
You need to install CNI plugins on Nomad client nodes under `/opt/cni/bin` before you can use `bridge` networks.
133133

134-
**Instructions for installing CNI plugins.**<br/>
135-
- $ curl -L -o cni-plugins.tgz https://github.com/containernetworking/plugins/releases/download/v0.8.1/cni-plugins-linux-amd64-v0.8.1.tgz<br/>
136-
- sudo mkdir -p /opt/cni/bin<br/>
137-
- sudo tar -C /opt/cni/bin -xzf cni-plugins.tgz
134+
**Instructions for installing CNI plugins.**<br/>
135+
```
136+
$ curl -L -o cni-plugins.tgz https://github.com/containernetworking/plugins/releases/download/v0.8.1/cni-plugins-linux-amd64-v0.8.1.tgz
137+
$ sudo mkdir -p /opt/cni/bin
138+
$ sudo tar -C /opt/cni/bin -xzf cni-plugins.tgz
139+
```
138140

139141
## Tests
140142
```

0 commit comments

Comments
 (0)