Page 1 of 1

Virtualization, Docker and qpkg

Posted: Thu Mar 16, 2017 1:11 am
by flipper203
I am new to this forum and I have a few questions. I would like to install some services on my home NAS, a TS253A (4Gb):
- Kodi 17
- nextcloud
- Rutorrent / rtorrent
- VPN server
I have different possibilities for some services. There are for example some embeded features that I can use as for the VPN server, and for some other, I may install a debian ditro on the wirtualization station and install newtcloud, rtorrent...or I can use docker with one container per service or I can install QPKG via the Qnap Club repository.
Could you help me and point me the advantages / Disavantages of the different solutions ?

Thanks for your help

Re: Virtualization, Docker and qpkg

Posted: Thu Mar 16, 2017 1:24 am
by dolbyman
Virtualization = Runs a complete OS in parallel to you NAS
Container = Runs a program / suite on the NAS as a container, but without the overhead of an extra OS
QPKG = Installs a program right on the OS of your NAS

There is many pros and cons to all of them .. google is your fiend

Re: Virtualization, Docker and qpkg

Posted: Thu Mar 16, 2017 4:46 am
by flipper203
ok, thanks for the answer, was just wondering if people had experiences about it an advices. I'll have a look on google too

Re: Virtualization, Docker and qpkg

Posted: Thu Mar 16, 2017 5:33 am
by dolbyman
there is example threads in the forum where people run torrent clients and plex in containers, just check them out

Re: Virtualization, Docker and qpkg

Posted: Tue Mar 28, 2017 5:26 am
by flipper203
Do you have any exmaple of installation of nginx container and configuration?

Re: Virtualization, Docker and qpkg

Posted: Tue Mar 28, 2017 5:36 am
by dolbyman

Re: Virtualization, Docker and qpkg

Posted: Thu Mar 30, 2017 6:08 am
by xavierh
i would stay away from running plex on a virtual environment unless your nas is one of those TVS models, otherwise you have the virtualization overhead on it. Plex is the only thing that I have running as a QPKG. the rest of the software that i use:

Deluge (lightweight torrent client)
Headphones
HTPC Manager
Jackett
Nzbget
ombi
plexpy
radarr
sonarr
Unifi Controller

Are all running on docker containers. I would suggest to go to the linuxserver.io website and get the stuff there as they seem to be taking care of the packages that they distribute. they also provide good documentation on how to set them up. IMPORTANT READ DOCKER DOCUMENTAITON AS QNAP will not hand hold you so you need to know how docker works beforehand.

for VPN server i would use the built in one ont he QNAP unless you have some weird stuff that you need that the QNAP provided one doe snot support.

I have used VMs before but it took me some time to understand the concept of a docker container. i am still learning.

Re: Virtualization, Docker and qpkg

Posted: Mon Mar 04, 2019 6:10 am
by dulcifium
xavierh wrote: Thu Mar 30, 2017 6:08 am i would stay away from running plex on a virtual environment unless your nas is one of those TVS models, otherwise you have the virtualization overhead on it. Plex is the only thing that I have running as a QPKG. the rest of the software that i use:

Deluge (lightweight torrent client)
Headphones
HTPC Manager
Jackett
Nzbget
ombi
plexpy
radarr
sonarr
Unifi Controller

Are all running on docker containers. I would suggest to go to the linuxserver.io website and get the stuff there as they seem to be taking care of the packages that they distribute. they also provide good documentation on how to set them up. IMPORTANT READ DOCKER DOCUMENTAITON AS QNAP will not hand hold you so you need to know how docker works beforehand.

for VPN server i would use the built in one ont he QNAP unless you have some weird stuff that you need that the QNAP provided one doe snot support.

I have used VMs before but it took me some time to understand the concept of a docker container. i am still learning.
What would you recommend in terms of CPU/RAM limits for these apps through Docker?

Re: Virtualization, Docker and qpkg

Posted: Mon Mar 04, 2019 11:58 pm
by xavierh
dulcifium wrote: Mon Mar 04, 2019 6:10 am
xavierh wrote: Thu Mar 30, 2017 6:08 am i would stay away from running plex on a virtual environment unless your nas is one of those TVS models, otherwise you have the virtualization overhead on it. Plex is the only thing that I have running as a QPKG. the rest of the software that i use:

Deluge (lightweight torrent client)
Headphones
HTPC Manager
Jackett
Nzbget
ombi
plexpy
radarr
sonarr
Unifi Controller

Are all running on docker containers. I would suggest to go to the linuxserver.io website and get the stuff there as they seem to be taking care of the packages that they distribute. they also provide good documentation on how to set them up. IMPORTANT READ DOCKER DOCUMENTAITON AS QNAP will not hand hold you so you need to know how docker works beforehand.

for VPN server i would use the built in one ont he QNAP unless you have some weird stuff that you need that the QNAP provided one doe snot support.

I have used VMs before but it took me some time to understand the concept of a docker container. i am still learning.
What would you recommend in terms of CPU/RAM limits for these apps through Docker?
with the exception of the unifi controller (100% cpu / 2048 ram) the rest are setup for 20% cpu and 512ram. they work great.

Re: Virtualization, Docker and qpkg

Posted: Wed Mar 06, 2019 2:19 am
by dulcifium
Thanks. In the progress of migrating everything over. I guess most you run as host rather than behind a NAT?