Commit c7123af
authored
Fix Docker instruction when host IP has more than 1 digit (#1594)
Instead of replacing the last char with `1`: replace everything starting from the last dot with `.1`.
For instance, my Docker assigned the IP `172.30.0.14` to the interface which resulted to the wrong gateway IP `172.30.0.11`1 parent 58a705d commit c7123af
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
144 | | - | |
| 144 | + | |
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
| |||
0 commit comments