How do you plan to start the diff-worker in a prod environment? You should run it from: https://github.com/dotcloud/docker-registry/blob/master/supervisor.conf