This is docker authorization plugin implementation to allow/disallow image to be run on the host. The plugin will check the image listing (whitelist) before the container can be run. The list will contain image id separated by comma. Detail please refer to:
https://github.com/fairuskhalid/whitelist
e.g. sha256:70c557e50ed630deed07cbb0dc4d28aa0f2a485cf7af124cc48f06bce83f784b, sha256:8a4f7447ac09bedb45ea3e3415ff87e5d6959d848e5facdd73456f9c6a2458a4
to run: docker run -d --restart=always -v /var/run:/var/run -v /run/docker/plugins/:/run/docker/plugins -v /etc/group:/etc/group fairus/wlplugin:v1 /wlplugin -wlhost http://192.168.56.101:8080/getlist
Usage of ./wlplugin: -d Show debug or not -dhost string Specifies the host where to contact the docker daemon (default "unix:///var/run/docker.sock") -i string Specifies the interval to query the whitelist (default "@every 1m") -wlhost string Specifies the host where to get whitelist (default "http://localhost:8080/getlist")
Content type
Image
Digest
Size
2.7 MB
Last updated
over 10 years ago
docker pull fairus/wlplugin:v1