Extract out the docker socket and registry endpoint to constants, so they are easier to change/update.
Extract out the docker socket and registry endpoint to constants, so they are easier to change/update.

resin-io/resin-multivisor,deviceMP/resin-supervisor,deviceMP/resin-supervisor,nghiant2710/resin-supervisor,nghiant2710/resin-supervisor