add notes on upgrades

This commit is contained in:
seanauff 2020-06-24 21:59:59 -04:00 committed by GitHub
parent 193b0e0abc
commit 9521b8f4ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 0 deletions

View File

@ -33,6 +33,10 @@ A sample docker-compose file is also provided.
If you have any questions, feel free to log an issue on this project, and I'll see if I can help. If you have any questions, feel free to log an issue on this project, and I'll see if I can help.
## Updates
The easiest way to update is to pull the latest image and recreate the container. You could also build the image yourself to get the latest updates. I have had success in using the Octoprint built in updater to upgrade plugins, as well as install new ones. Any upgrades conducted in this manner will be lost upon recreation of the container.
## Build the image yourself ## Build the image yourself
Clone the repository and build the image: Clone the repository and build the image:
@ -42,5 +46,10 @@ git clone https://github.com/seanauff/OctoPrint-Klipper.git
docker build -t seanauff/octoprint-klipper OctoPrint-Klipper docker build -t seanauff/octoprint-klipper OctoPrint-Klipper
``` ```
If you already have an image built and are trying to upgrade, you may need to force the build not to use cache:
```shell
docker build -t seanauff/octoprint-klipper --no-cache -pull OctoPrint-Klipper
```
[Octoprint]: https://github.com/foosel/OctoPrint [Octoprint]: https://github.com/foosel/OctoPrint
[Klipper]: https://github.com/KevinOConnor/klipper [Klipper]: https://github.com/KevinOConnor/klipper