mirror of
https://github.com/moul/sshportal.git
synced 2024-09-20 06:56:04 +08:00
v1.6.0
This commit is contained in:
parent
4aa9a227e8
commit
554937dd7a
|
@ -1,6 +1,6 @@
|
|||
# Changelog
|
||||
|
||||
## master (unreleased)
|
||||
## v1.6.0 (2017-12-12)
|
||||
|
||||
* Add `--latest` and `--quiet` options to `ls` commands
|
||||
* Add `healthcheck` user
|
||||
|
|
|
@ -223,7 +223,7 @@ An [automated build is setup on the Docker Hub](https://hub.docker.com/r/moul/ss
|
|||
```console
|
||||
# Start a server in background
|
||||
# mount `pwd` to persist the sqlite database file
|
||||
docker run -p 2222:2222 -d --name=sshportal -v "$(pwd):$(pwd)" -w "$(pwd)" moul/sshportal:v1.5.0
|
||||
docker run -p 2222:2222 -d --name=sshportal -v "$(pwd):$(pwd)" -w "$(pwd)" moul/sshportal:v1.6.0
|
||||
|
||||
# check logs (mandatory on first run to get the administrator invite token)
|
||||
docker logs -f sshportal
|
||||
|
@ -232,7 +232,7 @@ docker logs -f sshportal
|
|||
The easier way to upgrade sshportal is to do the following:
|
||||
|
||||
```sh
|
||||
# we consider you were using an old version and you want to use the new version v1.5.0
|
||||
# we consider you were using an old version and you want to use the new version v1.6.0
|
||||
|
||||
# stop and rename the last working container + backup the database
|
||||
docker stop sshportal
|
||||
|
@ -240,7 +240,7 @@ docker rename sshportal sshportal_old
|
|||
cp sshportal.db sshportal.db.bkp
|
||||
|
||||
# run the new version
|
||||
docker run -p 2222:2222 -d --name=sshportal -v "$(pwd):$(pwd)" -w "$(pwd)" moul/sshportal:v1.5.0
|
||||
docker run -p 2222:2222 -d --name=sshportal -v "$(pwd):$(pwd)" -w "$(pwd)" moul/sshportal:v1.6.0
|
||||
# check the logs for migration or cross-version incompabitility errors
|
||||
docker logs -f sshportal
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue