Skip to content

Latest commit

 

History

History
37 lines (37 loc) · 931 Bytes

File metadata and controls

37 lines (37 loc) · 931 Bytes

Docker No volumes Plugin

Building

$ export GOPATH=~ # optional if you already have this
$ mkdir -p ~/src/github.com/runcom # optional, from now on I'm assuming GOPATH=~
$ cd ~/src/github.com/runcom && git clone https://github.com/runcom/docker-novolume-plugin
$ cd docker-novolume-plugin
$ make

Installing

Either:

sudo make install

Or:

$ systemctl enable docker-novolume-plugin

Running

Specify --authz-plugin=docker-novolume-plugin in the docker daemon command line flags (either in the systemd unit file or /etc/sysconfig/docker under $OPTIONS or when manually starting the daemon) The plugin must be started before docker (done automatically via systemd unit file). If you're not using the systemd unit file:

$ docker-novolume-plugin &

Just restart docker and you're good to go! License

MIT