Docker – Running Ubiquiti NVR and Plex

downloadBye bye virtual machines and their inherent OS bloat. Docker and containerization is here…

The trick to containerization is picking the right workload (as with most things). Think about data, its state and where it lives and whether there are any benefits to running as a container.

Both Ubiquiti’s NVR and Plex’s media server software run’s some base application, this app within its own container then maps to data (which can exist outside the instance) that is consistent.

The fun continues when you can update a container (updating the running application), but keeping the data intact at another location. This can really help with version control etc where you can sometimes just point the new container at the data and turn off the old instance. Rollback? easy. Turn off new container and roll back to old.

Of course things are easier if you are running applications that do not change the data.  Both NVR and Plex only index and capture new data (in consistant format), which makes moving between application versions much easier.

The nature of containerization means that the full power of the host is taken into regard. This is different to regular visualization where each guest is limited to the virtual hardware it is assigned. There are of course challenges where resource is congested, but this can also happen in the latter (cpu scheduling, under / over allocation of resources).

Availability also has to be built with containers in mind, with load balances and instances across multiple hosts.

Update : this site has now now been migrated from a VM to 2 x docker containers…. One for MySQL Backend and one for WordPress FrontEnd. Containers can be linked – so the WordPress container can access MySQL container via its own local port. Very cool.

130 Replies to “Docker – Running Ubiquiti NVR and Plex”

  1. Thank you, I’ve just been searching for info about this subject for ages and yours is the greatest I have discovered till now. However, what in regards to the conclusion? Are you sure concerning the source?

  2. Merely wanna input on few general things, The website design is perfect, the subject matter is very excellent. “The way you treat yourself sets the standard for others.” by Sonya Friedman.

  3. You actually make it seem so easy with your presentation but I find this matter to be really something that I think I would never understand. It seems too complex and extremely broad for me. I am looking forward for your next post, I will try to get the hang of it!

  4. Great – I should certainly pronounce, impressed with your site. I had no trouble navigating through all the tabs and related information ended up being truly easy to do to access. I recently found what I hoped for before you know it at all. Reasonably unusual. Is likely to appreciate it for those who add forums or something, website theme . a tones way for your client to communicate. Nice task.

  5. Normally I do not learn article on blogs, however I would like to say that this write-up very pressured me to take a look at and do it! Your writing taste has been surprised me. Thanks, quite nice article.

  6. Thank you for sharing excellent informations. Your website is so cool. I’m impressed by the details that you’ve on this site. It reveals how nicely you perceive this subject. Bookmarked this website page, will come back for more articles. You, my friend, ROCK! I found just the info I already searched everywhere and simply could not come across. What a perfect site.

  7. hi!,I really like your writing so much! share we keep in touch extra about your article on AOL? I require an expert on this area to unravel my problem. Maybe that is you! Taking a look ahead to see you.

  8. My brother suggested I might like this blog. He was totally right. This post truly made my day. You can not imagine just how much time I had spent for this info! Thanks!

  9. I’ve been browsing online more than 3 hours today, yet I never found any interesting article like yours. It’s pretty worth enough for me. In my view, if all webmasters and bloggers made good content as you did, the web will be a lot more useful than ever before.

  10. Pretty nice post. I just stumbled upon your weblog and wanted to say that I’ve truly enjoyed browsing your blog posts. After all I’ll be subscribing to your feed and I hope you write again soon!

  11. Usually I don’t learn article on blogs, but I would like to say that this write-up very compelled me to try and do it! Your writing style has been amazed me. Thanks, very nice article.

  12. Excellent read, I just passed this onto a colleague who was doing a little research on that. And he actually bought me lunch since I found it for him smile So let me rephrase that: Thanks for lunch! “It is impossible to underrate human intelligence–beginning with one’s own.” by Henry Adams.

  13. I together with my buddies were reading the excellent pointers found on your website while unexpectedly I had an awful feeling I never expressed respect to the web blog owner for those strategies. My young men were definitely so very interested to learn them and have in effect definitely been taking pleasure in these things. We appreciate you turning out to be quite accommodating as well as for finding certain fabulous resources most people are really wanting to understand about. Our sincere regret for not expressing gratitude to you sooner.

  14. I like this weblog so much, saved to my bookmarks. “Respect for the fragility and importance of an individual life is still the mark of an educated man.” by Norman Cousins.

  15. Good write-up, I am regular visitor of one’s blog, maintain up the excellent operate, and It is going to be a regular visitor for a lengthy time.

  16. We are a group of volunteers and starting a new scheme in our community. Your website provided us with valuable info to work on. You’ve done an impressive job and our entire community will be thankful to you.

  17. I simply desired to thank you so much once more. I am not sure the things that I might have taken care of without the entire methods revealed by you over this question. Entirely was a very frustrating difficulty for me personally, however , taking note of your professional manner you resolved it made me to cry with fulfillment. I am thankful for your work and then have high hopes you are aware of a powerful job your are undertaking educating people using a site. I know that you have never met all of us.

  18. I got what you mean , thanks for putting up.Woh I am glad to find this website through google. “It is a very hard undertaking to seek to please everybody.” by Publilius Syrus.

  19. Pretty section of content. I just stumbled upon your weblog and in accession capital to assert that I get in fact enjoyed account your blog posts. Anyway I’ll be subscribing to your feeds and even I achievement you access consistently rapidly.

  20. I do trust all of the ideas you’ve introduced on your post. They are very convincing and will certainly work. Still, the posts are too brief for novices. May you please lengthen them a bit from subsequent time? Thank you for the post.

  21. Enjoyed reading through this, very good stuff, thankyou . “Be not careless in deeds, nor confused in words, nor rambling in thought.” by Marcus Aurelius Antoninus.

  22. Thanks for sharing superb informations. Your web site is so cool. I am impressed by the details that you have on this website. It reveals how nicely you understand this subject. Bookmarked this web page, will come back for more articles. You, my friend, ROCK! I found simply the information I already searched everywhere and simply could not come across. What a great site.

  23. Thank you for another fantastic article. Where else could anybody get that kind of info in such a perfect manner of writing? I have a presentation subsequent week, and I am on the search for such information.

  24. Wow, fantastic blog layout! How long have you been blogging for? you make blogging look easy. The overall look of your web site is fantastic, let alone the content!

  25. Usually I do not learn article on blogs, however I would like to say that this write-up very pressured me to check out and do it! Your writing style has been surprised me. Thank you, quite nice post.

  26. You really make it appear really easy with your presentation however I find this matter to be actually something that I think I would by no means understand. It sort of feels too complicated and very large for me. I am taking a look forward in your next post, I¡¦ll try to get the grasp of it!

  27. I’ll immediately seize your rss feed as I can’t to find your e-mail subscription hyperlink or newsletter service. Do you’ve any? Please let me realize in order that I may just subscribe. Thanks.

Leave a Reply

Your email address will not be published.