Comments (13)
This is how I update my containers on Synology Docker;
Open the Docker package.
Go to the Registry, and search for the image.
Click download, and choose the 'latest' tag
This will download the latest image and overwrite the existing older image.
Stop the container that was built on the old image.
Highlight it and select the Clear/Reset action.
Restart the container and it will be built from the new image.
This assumes that you've correctly mapped your container /config directory to the local volume, so all the config will be used by the updated image.
from unifi-docker.
Watchtower should work just fine actually. I use it myself. If your unifi container is named unifi
then try the following:
docker run -d \
--name unifi-updater \
-v /var/run/docker.sock:/var/run/docker.sock \
v2tec/watchtower unifi
This will launch a container named unifi-updater
to update unifi
see the v2tec/watchtower page for more advanced configurations.
I'll see about putting together a few update options on the wiki and readme in a bit.
from unifi-docker.
This is how I update my containers on Synology Docker;
Open the Docker package. Go to the Registry, and search for the image. Click download, and choose the 'latest' tag This will download the latest image and overwrite the existing older image. Stop the container that was built on the old image. Highlight it and select the Clear action. Restart the container and it will be built from the new image.
This assumes that you've correctly mapped your container /config directory to the local volume, so all the config will be used by the updated image.
Just a minor update to this (in case anyone else arrives here after a Google Search) - the 'Clear' option is now 'Reset' on the Synology Docker application:
from unifi-docker.
docker pull jacobalberty/unifi:stable
docker stop unifi (assuming your container is named "unifi")
docker rename unifi unifi.save
docker run ...... (however you created the original container)
If you're using the Synology web ui for Docker, pull latest stable, stop, rename, create new, start
Happy with the new version? Delete the prior container version. Done. The longest part (for me) of doing a container upgrade is pulling & unpacking the updated container image.
from unifi-docker.
@jhelmink thanks, worked like a charm! :-)
from unifi-docker.
@jhelmink Thanks million. Easy process
from unifi-docker.
@jhelmink thank you easy to follow and worked great!
from unifi-docker.
Wouldn't watchtower be of any help here? It does work rather well with other containers, i use v2tec/watchtower docker container to automatically pull new image if they are changed, stopping container, updating container with new images and restarting them.
Bu onnly jacobalberty can confirm if there might be some drawbacks of using watchtower of not.
from unifi-docker.
The easiest way I have found is:
- Log in to the controller
- Download the backup
- Stop the UniFi container
- Re-download the Image (latest)
- Start the new container
- Once on the "wizard" page, restore from backup
That is the way I do it.
from unifi-docker.
Does anyone had an issue with the login (Invalid username and/or password.
) after updating the container? I reinstalled my container (used the same version just changed it from latest
to 5.9.29
which was the same at that point) and bound the same volume.
Same happens if I remove the volume and use the unify backup instead.
from unifi-docker.
@mszoernyi Yes! I believe it's an issue with automatic backups or something like that. I ended up just having to start over unfortunately and lose my backup.
from unifi-docker.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
from unifi-docker.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
from unifi-docker.
Related Issues (20)
- move from linux server
- Huge LOAD after starting container HOT 5
- Update image to controller version v8.0.28 HOT 12
- Device Firmware not udpating HOT 3
- Unifi-docker doesn't create backup HOT 6
- Directions to force reset AP in the `Side-Projects.md` file, do not work for all APs HOT 1
- Guest Portal showing default page, no adjustments possible. HOT 1
- Improvement for readme part Adoption HOT 2
- How do I download the package for my Qnap nas? HOT 6
- Update image to controller version v8.1.113 HOT 13
- Docker compose and documentation update HOT 8
- Latest versions are not available in Docker Hub for arch. linux/arm/v7 HOT 4
- Backup is still fetching. HOT 4
- No new Device Update in Controller HOT 3
- PSA: Security Bulletin for apps <8.1.113 HOT 3
- Fonts Not Loading HOT 6
- Support for Early Access HOT 3
- Feature Request: Image without MongoDB HOT 2
- Unable to open sed temporary files using virtiofs mount
- UniFi Network Application 8.1.127 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from unifi-docker.