This repository has been archived by the owner on Jul 2, 2024. It is now read-only.
centos-6-1.4.2
CentOS-6 6.7 x86_64 - EPEL/IUS Repos / OpenSSH / Supervisor.
Base docker image includes: Public key authentication, Automated password generation, supports custom configuration via environment variables or a configuration data volume.
- Updated BASH scripts to try and have a more consistent syntax.
- Updated documentation with revised steps on how to implement the optional configuration "data" volume.
- Removed the run.sh feature 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. Using
docker cp
to upload a directory to the configuration volume is a much simpler approach. - Refactored run.conf such that only values are in the configuration file and added
VOLUME_CONFIG_ENABLED
to 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. - Added
VOLUME_CONFIG_NAMED
to run.conf to allow the operator to use a named volume and, if set totrue
theVOLUME_CONFIG_NAME
is used for thedocker_host_path
such that the volume is defined as:-v volume_name:/container_path
. The recommended approach is to not define a host path or named volume so that Docker manages the naming by only setting the container path:-v /container_path
. - Added a feature to the run.sh helper script to allow a command to be run as a parameter on running which can be useful if debugging a container that won't start.
- Added a new run.conf variable
DOCKER_HOST_PORT_SSH
that sets the host port to a default of "2020" which corresponds to the value set in the README.md and in the docker-compose.yml.
Download then load the docker image using:
$ xz -dc centos-ssh.centos-6-1.4.2.tar.xz | docker load