Private Docker Registry Config

Scalr supports the ability for self-hosted installations to use a private Docker registy to add private images to the software versions list within Scalr. To start, please log into the registry

#Log into you registry (more information on login here: https://docs.docker.com/engine/reference/commandline/login/)
/opt/scalr-server/embedded/bin/docker login

#Create the following directory if it doesn't exist yet, if it does please skip
mkdir /opt/scalr-server/etc/docker

#Copy the creds for Scalr to use going forward
cp /root/.docker/config.json /opt/scalr-server/etc/docker/

#Update the permissions
chown scalr-app: /opt/scalr-server/etc/docker/config.json

From this point forward, Scalr will use the private Docker registry for the Terraform images during the run exections.