docker-registry: switch to plugin

/cc @dmp42 @ktintc