docker: update start.sh and set container option to false by default
- Clean up of start.sh w/ addition of more comment
- Set socat option to false by default
- Added default value to SOCAT_LINK & RUN_CROND in the script to make it
cleaner
- This commit contains non backward-compatible change: any configuration using socat links will either:
- need to be updated to use DNS name when querrying external service
- set environment variable SOCAT_LINK to true when launching the updated container
@ -86,7 +86,7 @@ This container have some options available via environment variables, these opti
Bind linked docker container to localhost socket using socat.
Bind linked docker container to localhost socket using socat.
Any exported port from a linked container will be binded to the matching port on localhost.
Any exported port from a linked container will be binded to the matching port on localhost.
- <u>Disclaimer:</u>
- <u>Disclaimer:</u>
As this option rely on the environment variable created by docker when a container is linked, this option should be deactivated in managed environment such as Rancher or Kubernetes (set to `0` or `false`)
As this option rely on the environment variable created by docker when a container is linked, this option should not be activated in managed environment such as Rancher or Kubernetes.