Plugins development - error installing simple modification on template

Does anybody have a clue about this error:

$ curl http://localhost:8001/plugins -d name=kong-plugin-myplugin

{“message”:“schema violation (name: plugin ‘kong-plugin-myplugin’ not enabled; add it to the ‘plugins’ configuration property)”,“name”:“schema violation”,“fields”:{“name”:“plugin ‘kong-plugin-myplugin’ not enabled; add it to the ‘plugins’ configuration property”},“code”:2}

Context: running Kong from Docker.

Please add your plugin to the plugins property in kong.conf or set the KONG_PLUGINS environment variable:

KONG_PLUGINS=bundled,my-plugin
1 Like