Update On-Prem ReviewNB¶
We roll out fixes & new features all the time so it’s important to keep your ReviewNB updated. We notify you via email every time a new update is available. Installing an update is as simple as pulling and running a new docker image. Here are the steps,
Pull new docker image¶
SSH onto the box where ReviewNB is running.
Login (via docker CLI) to Quay docker registry with the credentials we sent you in the initial registration email.
$ docker login -u="<username>" -p="<password>" quay.io
Pull the docker image. Image name & tag would be availble in the upgrade email.
$ docker pull quay.io/reviewnb/<your-company-name>:<reviewnb-version>
Run new container¶
You will be stopping the old ReviewNB version in this step. Note that the service will be down after you stop the old container and until you start a new one (less than a minute typically).
- Note down the container ID
$ docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
- Stop the running container
$ docker kill <container_id>
- Run new container. [Tip: Our docker run command requires that you specify all environment variables. You can simply find the old docker run command with shell command history (ctrl+r) on Linux. Then you only need to replace the image tag on that command with a new one.]