How to install VigorConnect in Docker with persistent volume storage

I use Draytek's VigorConnect software to monitor and manage wireless access points around the campus where I work. In 2023, I installed it on an old laptop that I repurposed as a Debian server, but VigorConnect  had issue with a memory leak that we never got to the bottom of.

Recently we got a Ugreen NAS, which includes Docker functionality, so I took the opportunity to migrate the services from the laptop into Docker containers, and then decommission the old laptop. 

Draytek provide a Docker image for VigorConnect on their website, which made basic installation very easy, but the documentation doesn't have any information how to make VigorConnect data persist so I won't have to reconfigure it from scratch after a container is removed (eg. if changing container settings, or switching to a newer Docker image when a new version of VigorConnect is released). There was no information available online or via the 'AI oracles', so I used a lot of trial and error to determine which directories need to be set up as volume mounts in the container for this to work.

Here is the full set of steps that I followed.

  1. Download Docker image for VigorConnect from Draytek site
  2. Copy .zip to the Ugreen NAS and extract it
  3. Install Docker from App Centre
  4. Start Docker, then go to to Image > Local > New Image > From NAS
  5. Import the .tar image file
  6. Go to Container > New Container
  7. Select the VigorConnect image you just imported
  8. Limit CPU to 2 cores, and memory to 1024MB. Enable Auto restart
  9. Under Storage Pool, add 6 entries 
  10. On all of them, leave the NAS directory/file 'blank (automatic distribution)'
  11. On all of them, set Container Permissions to 'Read/write'.
  12. Each one should have a different value under Container Directory/file (this is case sensitive):
    • /usr/local/VigorConnect/conf
    • /usr/local/VigorConnect/Diskv
    • /usr/local/VigorConnect/FileRoot
    • /usr/local/VigorConnect/Log
    • /usr/local/VigorConnect/Service/etcdData
    • /usr/local/VigorConnect/sqlite
  13. Under Network configuration, select 'host'
  14. Save

Add new comment

CAPTCHA