Skip to content
This repository has been archived by the owner on Jul 2, 2024. It is now read-only.

Commit

Permalink
Release changes for 1.11.0 and 2.6.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
jdeathe committed Jun 20, 2019
1 parent 91af16e commit 9daed1a
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 22 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion README-short.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
CentOS-6 6.10 x86_64 / CentOS-7 7.5.1804 x86_64 - SCL/EPEL/IUS Repos / Supervisor / OpenSSH.
CentOS-6 6.10 x86_64 / CentOS-7 7.6.1810 x86_64 - SCL/EPEL/IUS Repos / Supervisor / OpenSSH.
38 changes: 19 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down Expand Up @@ -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).
Expand Down Expand Up @@ -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).
Expand Down Expand Up @@ -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"
```
Expand All @@ -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"
```
Expand All @@ -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 \
Expand All @@ -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.
Expand All @@ -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"
```

Expand All @@ -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"
```

Expand All @@ -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"
```

Expand All @@ -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
```

Expand All @@ -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
```

Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 9daed1a

Please sign in to comment.