Special Instructions for Installing with Docker on QNAP NAS (Intel/AMD)
These are preliminary instructions only!
User-supplied intelligence required! I'm not a QNAP user/owner but from what I was able to see in some searching and helping a user on the forums, the following is a generic guide to getting the container working on QNAP. I would appreciate screen shots and specific corrections (with detail, please).
- Open Container Station;
- Click Create Container;
- In the search box, enter
reactorand launch a search;
- The QNAP-recommended list of results is probably going to be empty, but you should see a Docker Hub tab in the results area — click on that tab;
- Scroll through the search results and find the
toggledbits/reactorentry. Select the image for your system architecture (e.g.
toggledbits/reactor:latest-amd64for an Intel/AMD-based NAS);
- On the settings dialog that opens, leave all the defaults (Auto Start on, etc.);
- Click the Advanced Settings link;
- Click the Network nav item in the left navigation;
- Set the network operating mode to Host;
- Click the Environment nav item;
- Leave all existing environment variables alone, but modify (or add)
TZand enter as its value the canonical name of your local timezone, which is of the form
Europe/Prague. If you don't know it, you can browse this list;
- Click the Shared Folder nav item.
- Create a directory somewhere on your NAS into which Reactor's configuration and data stores should be placed. This can be in your user home directory (recommended), or anywhere you normally have access to.
- Add or modify a mount point
/var/reactorto the full pathname of the directory you created in the previous step (put that in the Volume from host field for that row).
- Start the container.
You should immediately observe that the directory you created for config and data is populated with some folders and files. You should then be able to access the UI by going to http://nas-ip-address:8111/
You may now proceed to Concepts & Terminology, where you'll learn some basics about Reactor's objects, and then start to configure your hubs/controllers and get access to their devices.
Upgrading the Container
I need instructions from a knowledgeable QNAP user for this. On other systems, the typical way is to stop the container, pull the new image, clear the container (not delete it), then restart it. I don't know how it works on QNAP.