Fix docker registry bugs
3 files changed