diff --git a/CHANGELOG.md b/CHANGELOG.md index f5cb950..85ab386 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ Summary of release changes for Version 1 - CentOS-6 -### 1.11.0 - Unreleased +### 1.11.0 - 2019-06-20 - Deprecates `SSH_AUTOSTART_SSHD`, replaced with `ENABLE_SSHD_WRAPPER`. - Deprecates `SSH_AUTOSTART_SSHD_BOOTSTRAP`, replaced with `ENABLE_SSHD_BOOTSTRAP`. diff --git a/Dockerfile b/Dockerfile index 7f12c71..65171de 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM centos:6.10 -ARG RELEASE_VERSION="1.10.1" +ARG RELEASE_VERSION="1.11.0" # ------------------------------------------------------------------------------ # - Import the RPM GPG keys for repositories diff --git a/README-short.txt b/README-short.txt index 904db0a..cbd20ed 100644 --- a/README-short.txt +++ b/README-short.txt @@ -1 +1 @@ -CentOS-6 6.10 x86_64 / CentOS-7 7.5.1804 x86_64 - SCL/EPEL/IUS Repos / Supervisor / OpenSSH. \ No newline at end of file +CentOS-6 6.10 x86_64 / CentOS-7 7.6.1810 x86_64 - SCL/EPEL/IUS Repos / Supervisor / OpenSSH. \ No newline at end of file diff --git a/README.md b/README.md index 4d43810..9265301 100644 --- a/README.md +++ b/README.md @@ -11,8 +11,8 @@ The latest CentOS-6 / CentOS-7 based releases can be pulled from the `centos-6` ### Tags and respective `Dockerfile` links -- `centos-7`,[`2.5.1`](https://github.com/jdeathe/centos-ssh/releases/tag/2.5.1) [(centos-7/Dockerfile)](https://github.com/jdeathe/centos-ssh/blob/centos-7/Dockerfile) -- `centos-6`,[`1.10.1`](https://github.com/jdeathe/centos-ssh/releases/tag/1.10.1) [(centos-6/Dockerfile)](https://github.com/jdeathe/centos-ssh/blob/centos-6/Dockerfile) +- `centos-7`,[`2.6.0`](https://github.com/jdeathe/centos-ssh/releases/tag/2.6.0) [(centos-7/Dockerfile)](https://github.com/jdeathe/centos-ssh/blob/centos-7/Dockerfile) +- `centos-6`,[`1.11.0`](https://github.com/jdeathe/centos-ssh/releases/tag/1.11.0) [(centos-6/Dockerfile)](https://github.com/jdeathe/centos-ssh/blob/centos-6/Dockerfile) The Dockerfile can be used to build a base image that is the bases for several other docker images. @@ -42,7 +42,7 @@ Run up an SSH container named 'ssh.1' from the docker image 'jdeathe/centos-ssh' $ docker run -d \ --name ssh.1 \ -p 2020:22 \ - jdeathe/centos-ssh:1.10.1 + jdeathe/centos-ssh:1.11.0 ``` Check the logs for the password (required for sudo). @@ -76,7 +76,7 @@ $ docker run -d \ --name sftp.1 \ -p 2021:22 \ -e SSH_USER_FORCE_SFTP=true \ - jdeathe/centos-ssh:1.10.1 + jdeathe/centos-ssh:1.11.0 ``` Connect using the `sftp` command line client with the [insecure private key](https://github.com/mitchellh/vagrant/blob/master/keys/vagrant). @@ -106,10 +106,10 @@ $ docker run \ --rm \ --privileged \ --volume /:/media/root \ - jdeathe/centos-ssh:1.10.1 \ + jdeathe/centos-ssh:1.11.0 \ /usr/sbin/scmi install \ --chroot=/media/root \ - --tag=1.10.1 \ + --tag=1.11.0 \ --name=ssh.1 \ --setopt="--volume {{NAME}}.config-ssh:/etc/ssh" ``` @@ -123,10 +123,10 @@ $ docker run \ --rm \ --privileged \ --volume /:/media/root \ - jdeathe/centos-ssh:1.10.1 \ + jdeathe/centos-ssh:1.11.0 \ /usr/sbin/scmi uninstall \ --chroot=/media/root \ - --tag=1.10.1 \ + --tag=1.11.0 \ --name=ssh.1 \ --setopt="--volume {{NAME}}.config-ssh:/etc/ssh" ``` @@ -140,10 +140,10 @@ $ docker run \ --rm \ --privileged \ --volume /:/media/root \ - jdeathe/centos-ssh:1.10.1 \ + jdeathe/centos-ssh:1.11.0 \ /usr/sbin/scmi install \ --chroot=/media/root \ - --tag=1.10.1 \ + --tag=1.11.0 \ --name=ssh.1 \ --manager=systemd \ --register \ @@ -159,7 +159,7 @@ Since release tags `1.7.2` / `2.1.2` the install template has been added to the _NOTE:_ A prerequisite of the following examples is that the image has been pulled (or loaded from the release package). ``` -$ docker pull jdeathe/centos-ssh:1.10.1 +$ docker pull jdeathe/centos-ssh:1.11.0 ``` To see detailed information about the image run `scmi` with the `--info` option. To see all available `scmi` options run with the `--help` option. @@ -168,7 +168,7 @@ To see detailed information about the image run `scmi` with the `--info` option. $ eval "sudo -E $( docker inspect \ -f "{{.ContainerConfig.Labels.install}}" \ - jdeathe/centos-ssh:1.10.1 + jdeathe/centos-ssh:1.11.0 ) --info" ``` @@ -178,7 +178,7 @@ To perform an installation using the docker name `ssh.2` simply use the `--name` $ eval "sudo -E $( docker inspect \ -f "{{.ContainerConfig.Labels.install}}" \ - jdeathe/centos-ssh:1.10.1 + jdeathe/centos-ssh:1.11.0 ) --name=ssh.2" ``` @@ -188,7 +188,7 @@ To uninstall use the *same command* that was used to install but with the `unins $ eval "sudo -E $( docker inspect \ -f "{{.ContainerConfig.Labels.uninstall}}" \ - jdeathe/centos-ssh:1.10.1 + jdeathe/centos-ssh:1.11.0 ) --name=ssh.2" ``` @@ -201,7 +201,7 @@ To see detailed information about the image run `scmi` with the `--info` option. ``` $ sudo -E atomic install \ -n ssh.3 \ - jdeathe/centos-ssh:1.10.1 \ + jdeathe/centos-ssh:1.11.0 \ --info ``` @@ -210,14 +210,14 @@ To perform an installation using the docker name `ssh.3` simply use the `-n` opt ``` $ sudo -E atomic install \ -n ssh.3 \ - jdeathe/centos-ssh:1.10.1 + jdeathe/centos-ssh:1.11.0 ``` Alternatively, you could use the `scmi` options `--name` or `-n` for naming the container. ``` $ sudo -E atomic install \ - jdeathe/centos-ssh:1.10.1 \ + jdeathe/centos-ssh:1.11.0 \ --name ssh.3 ``` @@ -226,7 +226,7 @@ To uninstall use the *same command* that was used to install but with the `unins ``` $ sudo -E atomic uninstall \ -n ssh.3 \ - jdeathe/centos-ssh:1.10.1 + jdeathe/centos-ssh:1.11.0 ``` #### Using environment variables @@ -242,7 +242,7 @@ $ docker stop ssh.1 \ --name ssh.1 \ -p :22 \ --env "SSH_USER=app-user" \ - jdeathe/centos-ssh:1.10.1 + jdeathe/centos-ssh:1.11.0 ``` Now you can find out the app-admin, (sudoer), user's password by inspecting the container's logs