radial / imagebase-spoke

Base Dockerfile for Spoke containers. Supervisor and SSH built-in for your apps.
https://index.docker.io/u/radial/spoke-base
2 stars 1 forks source link

Detect when using `--net host` option for log/runtime naming scheme #5

Open brianclements opened 9 years ago

brianclements commented 9 years ago

Right now, both logging and runtime socket/pic files are kept in the same volume container, but separated by the dynamic $HOSTNAME variable. Using --net host makes that the same across all containers on the same host and therefore must be detected and changed accordingly so that multiple containers can use the option. Eventually, another method of inserting the unique container name will be used and we can resume normally with the scheme.