Skip to content
This repository was archived by the owner on Mar 1, 2022. It is now read-only.

Commit 7bda63f

Browse files
Bot Updating Templated Files
1 parent 6a053bd commit 7bda63f

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ pipeline {
211211
fi
212212
mkdir -p ${TEMPDIR}/gitbook
213213
git clone https://github.com/linuxserver/docker-documentation.git ${TEMPDIR}/gitbook/docker-documentation
214-
if [ ! -f ${TEMPDIR}/gitbook/docker-documentation/images/docker-${CONTAINER_NAME}.md ] || [ "$(md5sum ${TEMPDIR}/gitbook/docker-documentation/images/docker-${CONTAINER_NAME}.md | awk '{ print $1 }')" != "$(md5sum ${TEMPDIR}/${CONTAINER_NAME}/docker-${CONTAINER_NAME}.md | awk '{ print $1 }')" ]; then
214+
if [ "${BRANCH_NAME}" = "master" ] && [ ! -f ${TEMPDIR}/gitbook/docker-documentation/images/docker-${CONTAINER_NAME}.md ] || [ "$(md5sum ${TEMPDIR}/gitbook/docker-documentation/images/docker-${CONTAINER_NAME}.md | awk '{ print $1 }')" != "$(md5sum ${TEMPDIR}/${CONTAINER_NAME}/docker-${CONTAINER_NAME}.md | awk '{ print $1 }')" ]; then
215215
cp ${TEMPDIR}/${CONTAINER_NAME}/docker-${CONTAINER_NAME}.md ${TEMPDIR}/gitbook/docker-documentation/images/
216216
cd ${TEMPDIR}/gitbook/docker-documentation/
217217
git add images/docker-${CONTAINER_NAME}.md

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ In this instance `PUID=1001` and `PGID=1001`, to find yours use `id user` as bel
124124
uid=1001(dockeruser) gid=1001(dockergroup) groups=1001(dockergroup)
125125
```
126126

127+
127128
 
128129
## Application Setup
129130

@@ -140,6 +141,25 @@ Access the webui at `<your-ip>:5050`, for more information check out [CouchPotat
140141
* image version number
141142
* `docker inspect -f '{{ index .Config.Labels "build_version" }}' linuxserver/couchpotato`
142143

144+
## Updating Info
145+
146+
Most of our images are static, versioned, and require an image update and container recreation to update the app inside. With some exceptions (ie. nextcloud, plex), 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.
147+
148+
Below are the instructions for updating containers:
149+
150+
### Via Docker Run/Create
151+
* Update the image: `docker pull linuxserver/couchpotato`
152+
* Stop the running container: `docker stop couchpotato`
153+
* Delete the container: `docker rm couchpotato`
154+
* Recreate a new container with the same docker create parameters as instructed above (if mapped correctly to a host folder, your `/config` folder and settings will be preserved)
155+
* Start the new container: `docker start couchpotato`
156+
* You can also remove the old dangling images: `docker image prune`
157+
158+
### Via Docker Compose
159+
* Update the image: `docker-compose pull linuxserver/couchpotato`
160+
* Let compose update containers as necessary: `docker-compose up -d`
161+
* You can also remove the old dangling images: `docker image prune`
162+
143163
## Versions
144164

145165
* **14.01.19:** - Multi-arch builds.

0 commit comments

Comments
 (0)