You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -104,12 +112,55 @@ In this instance `PUID=1000` and `PGID=1000`, to find yours use `id user` as bel
104
112
* Shell access whilst the container is running: `docker exec -it py-kms /bin/bash`
105
113
* To monitor the logs of the container in realtime: `docker logs -f py-kms`
106
114
115
+
## Updating Info
116
+
117
+
Most of our images are static, versioned, and require an image update and container recreation to update the app inside. We do not recommend or support updating apps inside the container. Please consult the [Application Setup](#application-setup) section above to see if it is recommended for the image.
118
+
119
+
Below are the instructions for updating containers:
120
+
121
+
### Via Docker Compose
122
+
123
+
* Update all images: `docker-compose pull`
124
+
* or update a single image: `docker-compose pull py-kms`
125
+
* Let compose update all containers as necessary: `docker-compose up -d`
126
+
* or update a single container: `docker-compose up -d py-kms`
127
+
* You can also remove the old dangling images: `docker image prune`
128
+
129
+
### Via Docker Run
130
+
131
+
* Update the image: `docker pull ghcr.io/thespad/py-kms`
132
+
* Stop the running container: `docker stop py-kms`
133
+
* Delete the container: `docker rm py-kms`
134
+
* Recreate a new container with the same docker run parameters as instructed above (if mapped correctly to a host folder, your `/config` folder and settings will be preserved)
135
+
* You can also remove the old dangling images: `docker image prune`
* We recommend [Diun](https://crazymax.dev/diun/) for update notifications. Other tools that automatically update containers unattended are not recommended or supported.
139
+
>[!TIP]
140
+
>We recommend [Diun](https://crazymax.dev/diun/) for update notifications. Other tools that automatically update containers unattended are not recommended or supported.
141
+
142
+
## Building locally
143
+
144
+
If you want to make local modifications to these images for development purposes or just to customize the logic:
0 commit comments