![]() ![]() I have spoken with QNAP and they expect this feature to be available soon. The only thing I can see that is missing is a method to update your existing containers. ConclusionĪs you can see, this is a fairly painless task getting your first container up and running on a QNAP device. Once up and running, depending on the container you have set up, give it a moment to initialise, then browse to its web UI using. Once this has been done, you are ready to click "Create" and your container will be configured, after which you will see it listed in the "Overview" section. The mount points within the container need to be kept as they are otherwise when you start the container, the application won't operate correctly. Now do the same for your recordings folder. Simply click in "Host Path" and browse to your appdata folder you created for TVHeadend then add /config to the "Mount Point" and leave Read & Write ticked. Here we setup our folders for the container appdata and also the recordings. As I don't need this, I will skip past it onto "Shared Folders" ![]() If you do have a DVB device connected to your QNAP, you would now go into the "Device" section and add select the device from the drop down. On the "Network" section, this can vary if you have a DVB device connected directly to your QNAP NAS, which if you do, you would add the ports 99 while under Network Mode "NAT" but as I have a network tuner, I need to set this to "Host" and that's it. Please note - the variables PUID/PGID reference the UID/GID values you acquired earlier. Under the "Environments" section, fill it in as I have but adjust your PUID/PGID accordingly. For this container we will be using Environments / Network / Shared Folders. Here you will be given multiple sections you can set up. Fill out the name (1), leave everything else blank and click "Advanced Settings" (2). Once you have confirmed that, you will be shown a the "Create Container" window. Click "Next" and click "Ok" to the third party warning. You will then be presented with an option to select which version to install always choose "latest" unless otherwise stated to. Load up Container Station and click "Create Container" (1) then type in the image you want to use - in this case, I typed in linuxserver/tvheadend (2) then clicked "Search" (3), followed by "Install" (4). Now we have the folders/permissions set up and we know our UID/GID information, we are going to create our TVHeadend container via the Container Station. ![]() For this guide, here are my results of that command: # id dockuser Replace with the user you created earlier. Use your favourite method to ssh into the QNAP NAS and run the following command: id ![]() This is needed so that the files created by the container are accessible by users on the host OS. Next we need to find the UID/GID of the user we created earlier. Same principle again with any folder you want a container to use, make sure it has R/W permissions. I will also create another share here as well called "recordings". I will name this "tvheadend" as I am using it for this example. Once you have your appdata folder created, create a folder for the container's config data. Here we will call the folder "appdata" and for the "Configure access privileges for users" we want to give our new user full read/write access to this folder. Load up "File Station" and create a new share by clicking on the + next to your Data Volume. Now we are going to create a new shared folder that we will keep all our docker appdata in. I will be creating a user called "dockuser" and everything else I have left as default (User Group etc). Go to "Users" from the main screen QTS, select "Create User" and create your user accordingly. To start, we want to create a user for our docker containers to use so that they are not running as root, primarily for security reasons.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |