Fixes #7796 - Docker repositories can now be enabled

Code to enable docker repos.