aboutsummaryrefslogtreecommitdiff
path: root/cni
diff options
context:
space:
mode:
authorEmmanuel Kasper <emmanuel@libera.cc>2021-05-19 23:42:18 +0200
committerEmmanuel Kasper <emmanuel@libera.cc>2021-05-20 12:02:04 +0200
commit12aa71ab834cea3be13ffd537d927e8ef22ef2c2 (patch)
tree4310875d3cdc6068787e0b3339f856b8f0449a30 /cni
parent4c756268e6d0dbe90e61a59d9644e34a0f2d5f36 (diff)
downloadpodman-12aa71ab834cea3be13ffd537d927e8ef22ef2c2.tar.gz
podman-12aa71ab834cea3be13ffd537d927e8ef22ef2c2.tar.bz2
podman-12aa71ab834cea3be13ffd537d927e8ef22ef2c2.zip
Use correct extension for example network config
This solves the error: # podman network ls ERRO[0000] Error loading CNI config file /etc/cni/net.d/87-podman-bridge.conf: error parsing configuration: missing 'type when creating an initial CNI config. Signed-off-by: Emmanuel Kasper <emmanuel@libera.cc>
Diffstat (limited to 'cni')
-rw-r--r--cni/README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/cni/README.md b/cni/README.md
index bc37df1eb..12c890ce8 100644
--- a/cni/README.md
+++ b/cni/README.md
@@ -11,7 +11,7 @@ For example a basic network configuration can be achieved with:
```bash
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/87-podman-bridge.conf
+curl -qsSL https://raw.githubusercontent.com/containers/libpod/master/cni/87-podman-bridge.conflist | sudo tee /etc/cni/net.d/87-podman-bridge.conflist
```
Dependent upon your CNI configuration, you will need to install as a minimum the `port` and `bridge` [CNI plugins](https://github.com/containernetworking/plugins) into `/opt/cni/bin` (or the directory specified by `cni_plugin_dir` in containers.conf). Please refer to the [CNI](https://github.com/containernetworking) project page in GitHub for more information.