boschkundendienst / guacamole-docker-compose

Guacamole with docker-compose using PostgreSQL, nginx with SSL (self-signed)
GNU General Public License v3.0
983 stars 410 forks source link

How to update #46

Closed alanmilinovic closed 2 years ago

alanmilinovic commented 2 years ago

Hi,

I followed your Quick start steps to install and setup things fast. Now I am wondering how to upgrade my Guacamole once the new version is pushed to the Github?

Thank you.

boschkundendienst commented 2 years ago

Hi @alanmilinovic, thanks for the questions.

Docker uses images it downloads from the internet (Dockerhub etc.), stores them locally and uses them to start the containers.

The following images are used within the docker-compose.yml:

image: guacamole/guacd
image: guacamole/guacamole

image: postgres:13.4-buster
image: nginx

As you can see (except postgres which is pinned to a specific version number) all images are the current released versions for guacd, guacamole and nginx.

To update you just stop the containers with docker-compose down. After that you do docker-compose pull and new images will be downloaded if there are any. Aftewards just start again with docker-compose up or docker-compose up -d.

You can go to dockerhub for a specific image and check the tab "Tags". Tags can be specified additionally to use a specific version of an image e.g. what I did with PosgreSQL.. The tags are applied by using a colon after the image name. A commonly used tag for example is latest, e.g. guacamole/guacamole:latest.

I hope this answers your question. This is how it usually works with all docker-containers.

Regards

Peter

alanmilinovic commented 2 years ago

Thank you for a very fast reply.