Это видео недоступно.
Сожалеем об этом.

How to Use Container Manager (Docker) on a Synology NAS - Beginners Guide

Поделиться
HTML-код
  • Опубликовано: 14 авг 2024
  • #Synology #ContainerManager #Docker
    This step-by-step guide will show you how to install Container Manager on a Synology NAS and implement your own Docker containers! Container Manager is the "new" Docker application in versions of DSM newer than 7.2. While Container Manager is very similar to the old version of Docker, it has some awesome new features like Docker Compose. Learn everything about Container Manager in this full setup guide!
    ✅ Container Manager Written Instructions: www.wundertech...
    📌 SSH Into NAS: www.wundertech...
    🔔 Subscribe for more tech-related tutorials and overviews: link.wundertec...
    🚀 Product Recommendations: link.wundertec...
    ❤️ Check out our website: link.wundertec...
    DISCLAIMER: The information in this video has been self-taught through years of technical tinkering. While we do our best to provide accurate, useful information, we make no guarantee that our viewers will achieve the same level of success. WunderTech does not assume liability nor responsibility to any person or entity with respect to damage caused directly or indirectly from its content or associated media. Use at your own risk.
    WunderTech is a trade name of WunderTech, LLC.
    0:00 Intro
    0:45 Container Manager (Docker) Overview
    2:52 Docker Compose (and why you should use it)
    4:03 Docker Compose Example
    12:05 Container Management
    16:41 Updating Docker Containers
    17:50 Macvlan Network Interfaces
    21:07 Final Thoughts

Комментарии • 86

  • @Steve_Just_Steve
    @Steve_Just_Steve 10 месяцев назад +2

    I finally feel like I have somewhat of a grasp on containers. Thank you.

  • @jayh.3632
    @jayh.3632 6 месяцев назад +1

    very good video, nice calm voice and perfectly to understand as a non native speaker :)

  • @aov_james
    @aov_james 8 месяцев назад +1

    just bought synology nas few days ago and setting it up.... whoa so much information that I can't digest gives me headache. Thank you I just didn't get anything out of watching well made video (totally on me) I might have to watch several more times repeatedly..

    • @WunderTechTutorials
      @WunderTechTutorials  8 месяцев назад

      It's definitely a lot at first, but you'll slowly get it! Let me know if you have any questions!

  • @K0ROLOV
    @K0ROLOV 6 месяцев назад +1

    Just wanted to say thank you :) U saved me on the volume thing, was stuck on this one ....

  • @TechMeOut5
    @TechMeOut5 11 месяцев назад +1

    OMG what a great tutorial. It was a pleasure to watch and i learned a lot! thank you Frank!

  • @cani77
    @cani77 5 месяцев назад

    Thanks a lot, I find the defines for my container with your video.

  • @creativeartdesign4820
    @creativeartdesign4820 3 месяца назад +1

    Perfect information and very good expaind, good job.

  • @norbertbans
    @norbertbans 7 месяцев назад

    Well done!!! This made me truly understand, how docker containers work. Well deserved thumbs-up and abo!!!

  • @QuikTechSolutions
    @QuikTechSolutions 11 месяцев назад +2

    Frank, this is by far “THE BEST” video out there on RUclips. You have a gift of explaining complex topics in a way that is simple to understand! Loved every minute of it!

  • @BrianDavids
    @BrianDavids 11 месяцев назад +1

    Thank you! Your videos are always so good and full of great insight!

  • @WillBelden
    @WillBelden 9 месяцев назад

    I've got a whole mess of stuff running on Docker on an old Intel NUC machine I have. I am SO glad to hear you talk about the importance of docker compose. I... knew it, from just the way I am, but had no real reason, other than "can change it and try again". And I may move things like photoprism, qbit, *arr, plex, all from that machine onto the DS1522+. Hopefully, my docker compose setups for each will make that easy. I am SO glad to see the DSM allows it, too! (Instead of it being an afterthought...) It's too bad, though, you can't create "stacks", though, like "media", "photos", "databases" with multi-setup docker compose YAML files. Or can you? Now that I type it, I think you can....since the image location is in the dc.yaml, NOT in the UI when using Projects!

    • @WunderTechTutorials
      @WunderTechTutorials  9 месяцев назад +1

      Definitely agree - this is the exact scenario where Docker Compose shines!

  • @Dutch1961
    @Dutch1961 7 месяцев назад

    Great video. It really gave an insight on how to practically use Container Manager on my Synology NAS. However I won't be using it for pihole. I'll run that on my Raspberry Pi 4B so it will remain active for all of my other devices when I have to shutdown my NAS.

  • @almazmusic
    @almazmusic 11 месяцев назад +2

    Massive solid and clean pitch. Thank you.

  • @fatannasty
    @fatannasty 7 месяцев назад

    That you very much! The information was delivered with great precision. I wished you thought my Cisco ISE course....LOL Awsome Job!

  • @JShayy
    @JShayy 7 месяцев назад +3

    I can tell I should have got into NAS and docker in my 20's when I still had brain cells. In my late 30's I am barely keeping up with this.

    • @WunderTechTutorials
      @WunderTechTutorials  7 месяцев назад +3

      You can do it! Definitely confusing early on but once it clicks, I promise it'll all make sense.

    • @L8rCloud
      @L8rCloud 5 месяцев назад

      @@WunderTechTutorials
      [INSERT ROB SCHNEIDER MEME HERE]

  • @rlocone
    @rlocone 11 месяцев назад

    Thanks for explaining the mac/vlan. Appreciated it.

  • @Jase989
    @Jase989 5 месяцев назад

    Great explanation Thank you very much!

  • @duchampnya3763
    @duchampnya3763 10 месяцев назад +1

    I have this error message "Bind mount failed: '/volume1/docker/pihole/etc-dnsmasq.d' does not exists"
    How can I fix it

  • @rmm2138
    @rmm2138 11 месяцев назад

    Thank you so much for this awesome tutorial!

  • @jonathanlewis2008
    @jonathanlewis2008 4 месяца назад

    Very useful, thanks!

  • @kevinhughes9801
    @kevinhughes9801 11 месяцев назад

    Excellent run through thank you

  • @venti4268
    @venti4268 11 месяцев назад +1

    Simple ,to the point information, just as I like it. Keep up the good work!

  • @Bumblecito
    @Bumblecito 4 месяца назад

    Thank you so much!

  • @memoopi
    @memoopi 11 месяцев назад

    as always, awesome!

  • @CyberNinja6969
    @CyberNinja6969 2 месяца назад

    how would you auto update Pi-hole running in a docker container on the NAS?

  • @Simpuhl
    @Simpuhl 6 месяцев назад

    I installed a few containers but I need to open the ports of externally. I port forwarded on my router but port is still closed? Do you got a video on what I'm missing? I tried adding the router and stuff like that also. It tests ok but still not open. Even disabled firewall to test. Nada

    • @WunderTechTutorials
      @WunderTechTutorials  6 месяцев назад +1

      Are you using Synology's firewall by any chance? If so, did you create an allow rule?

    • @Simpuhl
      @Simpuhl 6 месяцев назад

      I have firewall disabled, even enabled it and did the allow rule. Oddly enough I somehow got my qBitorrent docker container to work a while back and I remember it took me like 10 days to figure it out, now I am trying to do a game server, but can't for the life of me figure out what I did to make qBitorrent work.
      I am not behind a double nat, I did port forward on my router. My head is hurting trying to figure this out... I honestly didn't think you'd reply, also don't feel obligated to help but if you did have a video on how to install something like a torrent client (qbitorrent) and have those ports open so that others can seed off you etc. or even a gaming server so others can connect to it that would be great. I setup a Palworld server, but none of my friends can connect, only local lan, its driving me nuts.
      @@WunderTechTutorials

  • @charlesromney
    @charlesromney 11 месяцев назад

    How could I manage the boot order of the containers everytime that I restart my nas? I need to load first pi-hole and then unbound.

    • @WunderTechTutorials
      @WunderTechTutorials  11 месяцев назад +1

      The only way that I've done it in the past in terms of boot order is by using both containers in the same Docker Compose file. With that said, if it's currently working as expected, I don't think you'd have to change anything.

  • @parthp3639
    @parthp3639 11 месяцев назад +1

    Great content as always

  • @JBehrMusic
    @JBehrMusic 7 месяцев назад

    The tech GOAT is back at it again, thanks for the tutorial! I had a question though. How do the persistant volumes work? I recently setup a container (mbentley/omada-controller) and created folders for DATA/LOGS/WORK. The container runs fine and I was able to setup my Omada Controller, but I see no data/files at all in any of the mapped volumes (DATA/LOGS/WORK). Is this because I don't have a compose file?

    • @WunderTechTutorials
      @WunderTechTutorials  7 месяцев назад

      hahaha, thank you! If there is no data on the NAS itself (in the Docker folders that you mapped), the mapping isn't working. Either it's not mapped to the correct location on the NAS (/volume1/docker/[folder]), or the container folder (will be something with a forward slash in it - /data for example) isn't the correct path.
      Once the container runs, there should be some sort of data in at least one of the folders above. There could be some that are delayed (for example, no logs until logs occur, etc), but data should exist somewhere.

    • @JBehrMusic
      @JBehrMusic 7 месяцев назад

      @@WunderTechTutorials Thanks for the reply! I believe I figured it out. I was following someone else's tutorial last night, and they had the mapping completely wrong. I didn't realize the left side of the colon (:) is the created path, while the right side is the actual path within the system. Would the best way to donate be the SUPER THANKS? Or do you have a "buy me a coffee" link. Thanks for your content!

    • @WunderTechTutorials
      @WunderTechTutorials  7 месяцев назад

      @@JBehrMusic Glad you figured it out! I have a Ko-Fi link on my website but it's definitely not necessary. Thank you for the support!

  • @Techie4life
    @Techie4life 11 месяцев назад

    Great Job. Can i delay start of a container? As one of them is dependent on the other. Example: GluetunVPN and Deluge.

    • @WunderTechTutorials
      @WunderTechTutorials  11 месяцев назад

      I haven't personally done it, but I believe that you can. How easy it is would be harder to comment. From what I can tell from Google, Docker Compose might be your best option.

  • @peixe225
    @peixe225 2 месяца назад

    Awesome

  • @MichaelBelisle
    @MichaelBelisle 5 месяцев назад

    i can't even get mine fixed. it's in permanent repair status. can't re-install it or repair it at all

  • @jcdent5775
    @jcdent5775 5 месяцев назад

    When you're setting the file paths, you mention the default "./etc-pihole" is the root directory - it's not, it means from where the process started("./"). On the assumption that docker starts in docker/pihole(in this case), can't you just literally leave this alone and it should work? Your only task is to make the folders as you've done.

  •  10 месяцев назад

    I was about to install Pihole following your written tutorial in your webpage. Then, I saw your RUclips video version that you used two networks (the bridge and the mcvlan). but in the compose version for DSM 7.2 in your webpage with container manager you do not mention nor add this bridge network and just used the macvlan "ph_network". Is there any reason not using the ph_bridge in the compose file? Also, I suggest if (just if) you have Ubiquiti Unifi devices, to do an Add-on video setting up Pihole with UDM Pro/SE gateway for example, as I pretty sure the DNS Server setup per under each VLAN is not working, instead I have to setup the DSN Server into DNS Server Setup into Internet Options WAN rather than per VLANS. I have spent months and payed with firewall rules and I cannot get it working per VLAN, as directly into the WAN is not recommended. I really hope you can take a look.

    • @WunderTechTutorials
      @WunderTechTutorials  10 месяцев назад +1

      I spent about 3 hours trying to get the bridge network interface working with Docker Compose and it just won't work. The sad part is, I don't even know why because it works on other devices with Docker Compose. The second you add it to the Compose file, it tries to use it as the primary network interface and runs into issues. I am hoping it's a Synology bug and will try the compose file again after future updates. I think for now if you want it, you have to use Synology's GUI. With that said, it could certainly just be the compose file I created, but I don't think so.
      For UniFi, I do have a Dream Router that I have access to for tutorials but I use pfSense. I am not a fan of how UniFi handles their firewall rules and find them to be incredibly complicated for what you're actually doing. When pfSense is simpler from a firewall perspective, you know something is off, but the whole In/Out/Local thing just seems confusing to me. Again though, it could just be me.
      I do use UniFi for my Switches/AP's (and love them), but don't have a configured firewall to test with. Maybe in the future if they revamp the firewall section!

  • @AnomalyMP
    @AnomalyMP 10 месяцев назад

    Thanks for the great info! I wonder about which users have access to view/use/modify the Container Manager app? In Control Panel -> Application Privileges this package does not appear, and I haven't found any documentation that mentions this. Some containers setup login credentials using plaintext environment variables, so I'm trying to think through the implications...

    • @WunderTechTutorials
      @WunderTechTutorials  10 месяцев назад

      I'm not exactly sure what the default user is, but I am fairly certain it's NOT root (since you can specify that). I know certain containers allow you to specify the UID/GID to run the container as a specific user, but that's really container-specific.
      As for the credentials, it's really container-specific as well. Some allow you to pass the credentials in through a secrets file, but it's very different based on the container, etc (and I haven't used Synology + a secrets file...generally a Portainer thing for me).

    • @AnomalyMP
      @AnomalyMP 10 месяцев назад

      @@WunderTechTutorials Thanks for the reply :) I was actually thinking about which DSM users would have access to open the Container Manager app other than admins?

    • @WunderTechTutorials
      @WunderTechTutorials  10 месяцев назад +1

      @@AnomalyMP Oh, my apologies. Should be the admins only! As far as who can access the actual application Docker is hosting, it'll be anyone on the local network (but you can limit it with Synology's firewall if you'd like).

  • @user-rb8ig5hw7e
    @user-rb8ig5hw7e 4 месяца назад

    СПАСИБО :)

  • @DaveBerthiaume
    @DaveBerthiaume 11 месяцев назад

    I just followed these instructions to install pihole with the compose file. It went fine and is up and running, but when I try to update my Gravity adlists, I get a "connection refused" error on each one. Anybody know how to debug this?

    • @WunderTechTutorials
      @WunderTechTutorials  11 месяцев назад

      Did you add any lists or is this right after the default setup?

    • @DaveBerthiaume
      @DaveBerthiaume 11 месяцев назад

      @@WunderTechTutorials It looks like I needed to open 443/tcp in my firewall. Then the list update successfully.

  • @DeanDetton
    @DeanDetton 11 месяцев назад

    Hey Frank, as usual, great video! If I already have all of my containers running in Portainer on Synology, is there a good reason to migrate them back to Container Manager? I have a few stacks running multiple containers from the same docker compose file.

    • @WunderTechTutorials
      @WunderTechTutorials  11 месяцев назад

      Thank you! Short answer, if they're all running and you're happy with it, no need to change it. This is just another option!

  • @tomschi9485
    @tomschi9485 8 месяцев назад

    *Thank you very much for your Video!, Unfortunately, the Synology Drive has a major problem:* It does not map the NAS access rights to the clients: If, for example, a user on the NAS has read-only access to a folder, he can change the folder content on his client. Synology Drive *does not* synchronize this content, but because it allows the user to do this, this is an extremely bad problem because it leads to many misunderstandings and problems. (e.g. a user changes a document but the team does not know anything about it. *It's a nightmare,* because the user says for example: "I've checked and updated the contract, you can sign it and send it to the customer."
    *Of course, Synology Drive must map NAS access-rights to the synced folders on the Clients (which is a simple to program code). Otherwise very bad things can happen.*

    • @WunderTechTutorials
      @WunderTechTutorials  8 месяцев назад

      I will be honest in saying that I never thought of that scenario and it's definitely a valid one. My only concern is that I'm not exactly sure how they'd fix it since the user will have read/write permissions on the local folder and they can't (or at least shouldn't) modify the permissions of the local files.
      However, an indicator on the file letting the user know that it's read-only would definitely be helpful!

  • @Aixalld
    @Aixalld 10 месяцев назад

    anyone know why my Minecraft server when i start it up says its healthy soon as i join it has now saying warning unhealthy but unsure how to check why its unhealthy

    • @WunderTechTutorials
      @WunderTechTutorials  10 месяцев назад +1

      Is anything mentioned in the Docker logs?

    • @Aixalld
      @Aixalld 10 месяцев назад

      @@WunderTechTutorials thanks for replying , great video by the way
      but na cant see anything that stands out, only thing i can maybe think of is that in the Minecraft logs some plugins could be the issue, being some are old so maybe with the new container manager its just thinking its unhealthy when its not, as it did not do this in the old docker manager only when i updated to this new container manager, or at least did not noticed until this new update, but i mean it still running and everything seems fine, so im just going to leave it and see what happens lol,

  • @mdawas1986
    @mdawas1986 9 месяцев назад

    can you please explain how to SSH to docker container on Synology NAS ??

    • @WunderTechTutorials
      @WunderTechTutorials  9 месяцев назад +1

      It's explained here: www.wundertech.net/how-to-use-docker-on-a-synology-nas/

    • @mdawas1986
      @mdawas1986 9 месяцев назад

      @@WunderTechTutorials many thanks

  • @ronald0122
    @ronald0122 11 месяцев назад

    great video. i use watchtower for updates

  • @ms7165
    @ms7165 10 месяцев назад

    How does this video, basically ignoring Portainer, compare to today's Terramaster video where Portainer seems to put Container Manager in the back seat in terms of usage? Sorry, just trying to dive into the details a little and I feel a little conflict with Portainer vs Container Manager vs Docker Compose vs...........

    • @WunderTechTutorials
      @WunderTechTutorials  10 месяцев назад

      The short answer is that Portainer is an incredible tool for Docker container management. My comment about why it's better than Container Manager is basically that Container Manager is built on top of DSM, while Portainer is built for Docker management. It's really just that.
      The downside of installing Portainer on a Synology is that you need to do it through the command-line interface. If you're comfortable there, it's not difficult at all. In terms of why I think TOS needs to ditch it - the actual Docker GUI they have is not good and Portainer is installed in their package center. Synology's is actually good, and while it's not as good as Portainer, it's 75% there which is enough to make it a suggested, usable option.

  • @hanswi336
    @hanswi336 11 месяцев назад +1

    What is docker and why would i need it ?? Until today I'm using my Synology only as a backup target for my computers...

    • @WunderTechTutorials
      @WunderTechTutorials  11 месяцев назад

      Basically, you can run tons of different services inside of Docker. Hard to explain in a message like this, but this video dives a little deeper into why you might want to run Docker: ruclips.net/video/cJvx7sKbiAI/видео.html

    • @hanswi336
      @hanswi336 11 месяцев назад

      @@WunderTechTutorials Thank you for your quick answer.

  • @Nerd1701
    @Nerd1701 11 месяцев назад

    Hello, not sure but a couple of days again I posted a question concerning Docker security - see NasCompares - ruclips.net/video/q6EWb5Uf4UA/видео.htmlfeature=shared, but looking through the comments I see that post was deleted? Anyway, can you provide any insight concerning this issue??

    • @WunderTechTutorials
      @WunderTechTutorials  11 месяцев назад +1

      It's hard for me to comment on that because it's a huge topic with tons of different scenarios. In summary:
      1. Don't give containers root permissions. In all of the tutorials I create, I avoid this, but if you have done it in the past, consider removing it.
      2. Don't expose services to the outside internet if you don't have to. Even services that you do have to - learn what you're doing and see if there are any ways to increase the security (like potentially utilizing a reverse proxy for authentication, etc).
      This is just general info and I admit that, but it's hard to give a suggestion when the article stated that 22,000+ containers were compromised. Without knowing what they are or what they do, best practices are your best form of protection.

    • @Nerd1701
      @Nerd1701 11 месяцев назад

      Thanks for your quick response! I understand and you make a good point. I enjoy your videos they are very informative. Keep up the great work!!@@WunderTechTutorials

  • @Pootch17
    @Pootch17 11 месяцев назад

    I am using watchtower to update my containers automatically.

  • @L8rCloud
    @L8rCloud 5 месяцев назад

    THERE IS SOMETHING I’M NOT GETTING AND IT’S MAKING ME FURIOUS…
    Why is it that, instead of providing adequate and detailed, easy to follow documentation and videos, based on its products Synology relies on people like yourself to create RUclips videos at YOUR expense and YOUR time - whilst they benefit from the generation of a larger customer base leveraged off of the back of people like you rendering their hardware useful..???
    WHY ARE WE PAYING $YNOLOGY ??? WE SHOULD BE PAYING YOU
    …I guess it’s no longer a mystery what the ‘S’ stands for in Synology

  • @noribinios5873
    @noribinios5873 3 месяца назад

    a begginers guide that doesnt show how to actually access these containers

    • @WunderTechTutorials
      @WunderTechTutorials  3 месяца назад

      No beginners guide is going to show that. Every container is accessed differently - you need to look up how to access whatever container you're using on the correct port(s).