Fixes #7796 - Added code to enable docker repos

Code to enable docker repos.