From 54c8f57d97919f8943b15e1eccadde8651004154 Mon Sep 17 00:00:00 2001 From: leigh capili Date: Mon, 7 Oct 2019 12:49:52 -0600 Subject: [PATCH] Ensure CNI bin dir exists before installing (#471) Ensure CNI bin dir exists before installing --- docs/installation.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/installation.md b/docs/installation.md index d68916ea6..c16d73448 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -70,6 +70,7 @@ Install the CNI binaries like this: ```shell export CNI_VERSION=v0.8.2 export ARCH=$([ $(uname -m) = "x86_64" ] && echo amd64 || echo arm64) +mkdir -p /opt/cni/bin curl -sSL https://github.com/containernetworking/plugins/releases/download/${CNI_VERSION}/cni-plugins-linux-${ARCH}-${CNI_VERSION}.tgz | tar -xz -C /opt/cni/bin ```