This repository was archived by the owner on Jul 2, 2024. It is now read-only.
centos-6-1.4.2
CentOS-6 6.7 x86_64 - MySQL.
- Updates documentation with revised steps on how to implement the optional configuration "data" volume. Also revised for the application data volume.
- Updates the Systemd installation and definition scripts - no longer require the busybox image and made the installation easier to visualise by tailing the unit logs. Removes the necessity to create and populate the configuration data volume directory mount points.
- Removes the
run.shfeature to automatically mount the configuration volume on the docker host using a full path and attempt to populate the directory locally. This was problematic since the path on the Docker host might not exist and the feature to automatically create paths when adding a volume mount is deprecated. Usingdocker cpto upload a directory to the configuration volume is the preferred approach. - Updates
run.confsuch that only values are in the configuration file and addedVOLUME_CONFIG_ENABLEDto allow the "optional" configuration volume to be enabled if required instead of using it by default. Most essential settings can be implemented via the use of environment variables now. Also addes the variableVOLUME_DATA_ENABLEDto allow the optional use of a named data container instead of defining the volume within the running application container. - Addes
VOLUME_CONFIG_NAMEDandVOLUME_DATA_NAMEDtorun.confto allow the operator to use named volumes and, if set totruethe values are is used for thedocker_host_pathsuch that the volume is defined as:-v volume_name:/container_path. The recommended approach is to not define a host path or named volume if using a separate configuration/data container so that Docker manages the naming by only setting the container path:-v /container_path. - Addes new
run.confvariablesDOCKER_HOST_PORT_SSHandDOCKER_HOST_PORT_MYSQLto allow the operator to easily change the values from those set in therun.shhelper script.
Download then load the docker image using:
$ xz -dc centos-ssh-mysql.centos-6-1.4.2.tar.xz | docker load