Virtualization, Docker and qpkg

Post Reply
flipper203
New here
Posts: 5
Joined: Wed Mar 15, 2017 4:13 pm

Virtualization, Docker and qpkg

Post by flipper203 » Thu Mar 16, 2017 1:11 am

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

dolbyman
Guru
Posts: 14893
Joined: Sat Feb 12, 2011 2:11 am
Location: Vancouver BC , Canada

Re: Virtualization, Docker and qpkg

Post by dolbyman » Thu Mar 16, 2017 1:24 am

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

flipper203
New here
Posts: 5
Joined: Wed Mar 15, 2017 4:13 pm

Re: Virtualization, Docker and qpkg

Post by flipper203 » Thu Mar 16, 2017 4:46 am

ok, thanks for the answer, was just wondering if people had experiences about it an advices. I'll have a look on google too

dolbyman
Guru
Posts: 14893
Joined: Sat Feb 12, 2011 2:11 am
Location: Vancouver BC , Canada

Re: Virtualization, Docker and qpkg

Post by dolbyman » Thu Mar 16, 2017 5:33 am

there is example threads in the forum where people run torrent clients and plex in containers, just check them out

flipper203
New here
Posts: 5
Joined: Wed Mar 15, 2017 4:13 pm

Re: Virtualization, Docker and qpkg

Post by flipper203 » Tue Mar 28, 2017 5:26 am

Do you have any exmaple of installation of nginx container and configuration?

dolbyman
Guru
Posts: 14893
Joined: Sat Feb 12, 2011 2:11 am
Location: Vancouver BC , Canada

Re: Virtualization, Docker and qpkg

Post by dolbyman » Tue Mar 28, 2017 5:36 am


xavierh
Experience counts
Posts: 1045
Joined: Wed Jan 30, 2008 6:15 am
Location: Denton, Texas

Re: Virtualization, Docker and qpkg

Post by xavierh » 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.

QNAP TVS-951x QTS 4.4.1.1086 build 20191010 OS Storage Pool: Samsung 860 EVO 250GB SSD x 4 (RAID 5), Data Storage Pool: WD WD30EFRX (Red) 3TB x 4 (RAID 5), 16GB RAM WD Easystore 10TB External USB 3.0 Services: SMB, Appletalk, QPKG: Container Station, Virtualization Station, Plex Media Server, Hybrid Backup Sync
QNAP TS-453A QTS 4.4.1.1086 build 20191010 Services: SMB, Appletalk,QVPN
Network: UDM, UDM Beacon, Unifi 8 Port Switch x 3

dulcifium
Been there, done that
Posts: 703
Joined: Fri Oct 23, 2009 6:52 pm

Re: Virtualization, Docker and qpkg

Post by dulcifium » 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?
QNAP TS-EC1079 Pro (4.3.4.0435) | 10 x 4 TB (WD WDC WD40EFRX firmware 82.00A82) | 32 TB RAID-6
QNAP TS-639 Pro (3.8.1 Build 20121205) | 6 x 3 TB (Toshiba DT01ACA300 firmware MX6OABB0) | 12 TB RAID-6
Both shared over single port GbE and wifi router to Linux, Android, Windows, macOS and PS3

xavierh
Experience counts
Posts: 1045
Joined: Wed Jan 30, 2008 6:15 am
Location: Denton, Texas

Re: Virtualization, Docker and qpkg

Post by xavierh » Mon Mar 04, 2019 11:58 pm

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.

QNAP TVS-951x QTS 4.4.1.1086 build 20191010 OS Storage Pool: Samsung 860 EVO 250GB SSD x 4 (RAID 5), Data Storage Pool: WD WD30EFRX (Red) 3TB x 4 (RAID 5), 16GB RAM WD Easystore 10TB External USB 3.0 Services: SMB, Appletalk, QPKG: Container Station, Virtualization Station, Plex Media Server, Hybrid Backup Sync
QNAP TS-453A QTS 4.4.1.1086 build 20191010 Services: SMB, Appletalk,QVPN
Network: UDM, UDM Beacon, Unifi 8 Port Switch x 3

dulcifium
Been there, done that
Posts: 703
Joined: Fri Oct 23, 2009 6:52 pm

Re: Virtualization, Docker and qpkg

Post by dulcifium » Wed Mar 06, 2019 2:19 am

Thanks. In the progress of migrating everything over. I guess most you run as host rather than behind a NAT?
QNAP TS-EC1079 Pro (4.3.4.0435) | 10 x 4 TB (WD WDC WD40EFRX firmware 82.00A82) | 32 TB RAID-6
QNAP TS-639 Pro (3.8.1 Build 20121205) | 6 x 3 TB (Toshiba DT01ACA300 firmware MX6OABB0) | 12 TB RAID-6
Both shared over single port GbE and wifi router to Linux, Android, Windows, macOS and PS3

Post Reply

Return to “Virtualization Station”