summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Dockerfile4
-rw-r--r--libpod/runtime.go2
2 files changed, 3 insertions, 3 deletions
diff --git a/Dockerfile b/Dockerfile
index 548da0a1f..a07832d32 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -75,8 +75,8 @@ RUN set -x \
&& cd "$GOPATH/src/github.com/containernetworking/plugins" \
&& git checkout -q "$CNI_COMMIT" \
&& ./build.sh \
- && mkdir -p /opt/cni/bin \
- && cp bin/* /opt/cni/bin/ \
+ && mkdir -p /usr/libexec/cni \
+ && cp bin/* /usr/libexec/cni \
&& rm -rf "$GOPATH"
# Install custom CNI bridge test plugin
diff --git a/libpod/runtime.go b/libpod/runtime.go
index 480da6677..91c6c7683 100644
--- a/libpod/runtime.go
+++ b/libpod/runtime.go
@@ -75,7 +75,7 @@ var (
MaxLogSize: -1,
NoPivotRoot: false,
CNIConfigDir: "/etc/cni/net.d/",
- CNIPluginDir: "/opt/cni/bin/",
+ CNIPluginDir: "/usr/libexec/cni",
}
)