Failed to find plugin "bridge" in path

I am running nomad 0.10-beta1. I’ve tried enabling the bridge networking

job "foobar" {
    datacenters = ["dc1"]
    group "foo" {
        network {
             mode = "bridge"

But when I do I get error:

failed to setup alloc: pre-run hook "network" failed: failed to configure networking for alloc: failed to find plugin "bridge" in path [/opt/cni/bin]

What is going on?

You must enable the CNI plugin

$ curl -L -o cni-plugins.tgz
$ sudo mkdir -p /opt/cni/bin
$ sudo tar -C /opt/cni/bin -xzf cni-plugins.tgz

fwiw, I have used the 0.8.2 version of the plugins as well. For my basic setup, it worked fine.