Enable container linking

This patch enables container linking to docker-registry.

If you have a container for registry and start it on the same docker
instance, you can connect it using option "--link CONTAINER:registry"
instead ENV_DOCKER_REGISTRY_HOST/PORT.