mirror of
https://github.com/containers/podman.git
synced 2025-09-22 20:56:21 +08:00
Merge pull request #3605 from nc-ruth/patch-1
"mkdir -p /etc/cni/net.d" requires sudo
This commit is contained in:
@ -252,7 +252,7 @@ A proper description of setting up CNI networking is given in the [`cni` README]
|
|||||||
Using the CNI plugins from above, a more basic network config is achieved with:
|
Using the CNI plugins from above, a more basic network config is achieved with:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
mkdir -p /etc/cni/net.d
|
sudo mkdir -p /etc/cni/net.d
|
||||||
curl -qsSL https://raw.githubusercontent.com/containers/libpod/master/cni/87-podman-bridge.conflist | sudo tee /etc/cni/net.d/99-loopback.conf
|
curl -qsSL https://raw.githubusercontent.com/containers/libpod/master/cni/87-podman-bridge.conflist | sudo tee /etc/cni/net.d/99-loopback.conf
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user