{"id":627,"date":"2021-01-25T01:00:31","date_gmt":"2021-01-25T01:00:31","guid":{"rendered":"http:\/\/bullyrooks.com\/?p=627"},"modified":"2021-01-26T00:48:40","modified_gmt":"2021-01-26T00:48:40","slug":"why-use-docker-on-synology","status":"publish","type":"post","link":"https:\/\/bullyrooks.com\/index.php\/2021\/01\/25\/why-use-docker-on-synology\/","title":{"rendered":"Why Use Docker on Synology?"},"content":{"rendered":"\n<p>There&#8217;s lots of reasons why docker is a good fit for your synology server.  Among them are<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Better maintained applications.  Some synology packages are not maintained very well.<\/li><li>Better supported applications.  Documentation for docker images is usually very good.<\/li><li>Isolation from the underlying OS.  You don&#8217;t need to worry about dependency versioning because docker images are self contained.<\/li><li>You get to learn Docker.  Its a pretty cool tool.<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">How does Docker Work?<\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"353\" height=\"392\" src=\"https:\/\/i0.wp.com\/bullyrooks.com\/wp-content\/uploads\/2021\/01\/image-31.png?resize=353%2C392&#038;ssl=1\" alt=\"\" class=\"wp-image-628\" srcset=\"https:\/\/i0.wp.com\/bullyrooks.com\/wp-content\/uploads\/2021\/01\/image-31.png?w=353&amp;ssl=1 353w, https:\/\/i0.wp.com\/bullyrooks.com\/wp-content\/uploads\/2021\/01\/image-31.png?resize=270%2C300&amp;ssl=1 270w\" sizes=\"auto, (max-width: 353px) 100vw, 353px\" data-recalc-dims=\"1\" \/><\/figure>\n\n\n\n<p>Docker runs as a package inside your NAS.  Docker manages containers which &#8216;contain&#8217; your applications.  You don&#8217;t have any access to what is inside a container by default (which enhances security), so you have to make &#8216;external&#8217; mappings to the &#8216;internal&#8217; resources (like ports and volumes on the filesystem).  These let the container store data on the NAS which you can then access.  Also these allow you to expose ports to the web UI that some containers provide which allows you to interact with them through your web browser.  <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Downsides<\/h2>\n\n\n\n<p>The application and dependency isolation comes at a cost in that some containers will be running their entire stack (operating system, dependencies, applications, etc&#8230;) which could be considered inefficient.  Additionally, the indirection between the container resources and interfaces (filesystem, ports, etc&#8230;) can be a little confusing in the beginning.<\/p>\n\n\n\n<p>However, I feel that the costs are well overcome by the advantages of reducing the maintenance costs associated with running multiple packages.<\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"entry-summary\">\nThere&#8217;s lots of reasons why docker is a good fit for your&hellip;\n<\/div>\n<div class=\"link-more\"><a href=\"https:\/\/bullyrooks.com\/index.php\/2021\/01\/25\/why-use-docker-on-synology\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &ldquo;Why Use Docker on Synology?&rdquo;<\/span>&hellip;<\/a><\/div>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[5,6],"course":[3],"class_list":["post-627","post","type-post","status-publish","format-standard","hentry","category-home-networking","tag-docker","tag-synology","course-synology-docker-portainer","entry"],"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":543,"url":"https:\/\/bullyrooks.com\/index.php\/2021\/01\/25\/installing-docker-on-synology-dsm\/","url_meta":{"origin":627,"position":0},"title":"Installing Docker on Synology DSM","author":"Bullyrook","date":"January 25, 2021","format":false,"excerpt":"Docker is a very useful tool that will allow us to quickly expand the usefulness of our NAS. It has very similar functionality to the Package Center. However, docker runs its applications inside virtual machines and not directly on the NAS hardware. This means that the applications are self contained\u2026","rel":"","context":"In &quot;Home Networking&quot;","block_context":{"text":"Home Networking","link":"https:\/\/bullyrooks.com\/index.php\/category\/technology\/home-networking\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/bullyrooks.com\/wp-content\/uploads\/2021\/01\/Screen-Shot-2021-01-23-at-5.47.13-PM.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/bullyrooks.com\/wp-content\/uploads\/2021\/01\/Screen-Shot-2021-01-23-at-5.47.13-PM.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/bullyrooks.com\/wp-content\/uploads\/2021\/01\/Screen-Shot-2021-01-23-at-5.47.13-PM.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":549,"url":"https:\/\/bullyrooks.com\/index.php\/2021\/01\/25\/installing-portainer-in-docker-on-synology\/","url_meta":{"origin":627,"position":1},"title":"Installing Portainer in Docker on Synology","author":"Bullyrook","date":"January 25, 2021","format":false,"excerpt":"Although we can install and run docker containers directly in the synology docker package, I recommend installing portainer as a docker management tool. Portainer has a nice web based user interface, which means that you can access it directly via the browser instead of logging into the synology DSM and\u2026","rel":"","context":"In &quot;Home Networking&quot;","block_context":{"text":"Home Networking","link":"https:\/\/bullyrooks.com\/index.php\/category\/technology\/home-networking\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/bullyrooks.com\/wp-content\/uploads\/2021\/01\/Screen-Shot-2021-01-23-at-6.00.11-PM.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":1001,"url":"https:\/\/bullyrooks.com\/index.php\/2021\/02\/21\/setup-and-install-nextcloud-on-synology\/","url_meta":{"origin":627,"position":2},"title":"Setup and Install NextCloud On Synology","author":"Bullyrook","date":"February 21, 2021","format":false,"excerpt":"NextCloud is a file storage and sharing system. It can be compared to dropbox or google drive. The difference here is that you're using your NAS, so you'll get as much space as you can support without paying for additional storage. NextCloud also offers multi-platform compatibility via a web application\u2026","rel":"","context":"In &quot;Home Networking&quot;","block_context":{"text":"Home Networking","link":"https:\/\/bullyrooks.com\/index.php\/category\/technology\/home-networking\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":729,"url":"https:\/\/bullyrooks.com\/index.php\/2021\/01\/29\/create-a-radarr-container\/","url_meta":{"origin":627,"position":3},"title":"Create a Radarr Container","author":"Bullyrook","date":"January 29, 2021","format":false,"excerpt":"Radarr is almost exactly the same as Sonarr except its for movies instead. Installing a container and configuring the application is very similar to sonarr. Creating the Container The docker repository for radarr is here. The configuration documentation is here as well. Again, SSH into your NAS and edit the\u2026","rel":"","context":"In &quot;Home Networking&quot;","block_context":{"text":"Home Networking","link":"https:\/\/bullyrooks.com\/index.php\/category\/technology\/home-networking\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/bullyrooks.com\/wp-content\/uploads\/2021\/01\/image-91.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/bullyrooks.com\/wp-content\/uploads\/2021\/01\/image-91.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/bullyrooks.com\/wp-content\/uploads\/2021\/01\/image-91.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/bullyrooks.com\/wp-content\/uploads\/2021\/01\/image-91.png?resize=1050%2C600&ssl=1 3x, https:\/\/i0.wp.com\/bullyrooks.com\/wp-content\/uploads\/2021\/01\/image-91.png?resize=1400%2C800&ssl=1 4x"},"classes":[]},{"id":643,"url":"https:\/\/bullyrooks.com\/index.php\/2021\/01\/27\/prepare-synology-for-media-components\/","url_meta":{"origin":627,"position":4},"title":"Prepare Synology for Media Components","author":"Bullyrook","date":"January 27, 2021","format":false,"excerpt":"We'll need to do a little setup on Synology first in order to create the appropriate user account and directory structure. Create the Media Components User Account Get into the DSM on the NAS. Open Control Panel and select User Create a new user that docker will run your media\u2026","rel":"","context":"In &quot;Home Networking&quot;","block_context":{"text":"Home Networking","link":"https:\/\/bullyrooks.com\/index.php\/category\/technology\/home-networking\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/bullyrooks.com\/wp-content\/uploads\/2021\/01\/image-39.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":703,"url":"https:\/\/bullyrooks.com\/index.php\/2021\/01\/28\/installing-jackett\/","url_meta":{"origin":627,"position":5},"title":"Installing Jackett","author":"Bullyrook","date":"January 28, 2021","format":false,"excerpt":"Jackett is a database for bittorrent indexers. This allows you to refer to internal resources when configuring radarr and sonarr, which then get mapped to external API. It makes it really easy to add more bittorrent indexers to expand the breadth of your searches. Running Jackett Container The docker project\u2026","rel":"","context":"In &quot;Home Networking&quot;","block_context":{"text":"Home Networking","link":"https:\/\/bullyrooks.com\/index.php\/category\/technology\/home-networking\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/bullyrooks.com\/wp-content\/uploads\/2021\/01\/image-79.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]}],"_links":{"self":[{"href":"https:\/\/bullyrooks.com\/index.php\/wp-json\/wp\/v2\/posts\/627","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bullyrooks.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bullyrooks.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bullyrooks.com\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/bullyrooks.com\/index.php\/wp-json\/wp\/v2\/comments?post=627"}],"version-history":[{"count":1,"href":"https:\/\/bullyrooks.com\/index.php\/wp-json\/wp\/v2\/posts\/627\/revisions"}],"predecessor-version":[{"id":629,"href":"https:\/\/bullyrooks.com\/index.php\/wp-json\/wp\/v2\/posts\/627\/revisions\/629"}],"wp:attachment":[{"href":"https:\/\/bullyrooks.com\/index.php\/wp-json\/wp\/v2\/media?parent=627"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bullyrooks.com\/index.php\/wp-json\/wp\/v2\/categories?post=627"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bullyrooks.com\/index.php\/wp-json\/wp\/v2\/tags?post=627"},{"taxonomy":"course","embeddable":true,"href":"https:\/\/bullyrooks.com\/index.php\/wp-json\/wp\/v2\/course?post=627"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}