docker-registry: switch to plugin

Fixes #14 

/cc @dmp42 @ktintc @bshi 
run.sh if you set the workdir