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

Ғылым және технология

#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.net/container-...
📌 SSH Into NAS: www.wundertech.net/how-to-ssh...
🔔 Subscribe for more tech-related tutorials and overviews: link.wundertech.net/ssYt
🚀 Product Recommendations: link.wundertech.net/rmYt
❤️ Check out our website: link.wundertech.net/wtYt
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

Пікірлер: 83

  • @BrianDavids
    @BrianDavids9 ай бұрын

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

  • @rmm2138
    @rmm21389 ай бұрын

    Thank you so much for this awesome tutorial!

  • @kevinhughes9801
    @kevinhughes98019 ай бұрын

    Excellent run through thank you

  • @Steve_Just_Steve
    @Steve_Just_Steve7 ай бұрын

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

  • @creativeartdesign4820
    @creativeartdesign4820Ай бұрын

    Perfect information and very good expaind, good job.

  • @DrTorbjorn
    @DrTorbjorn8 ай бұрын

    Was able to install Plex with docker compose after this video. Thanks a lot!

  • @jayh.3632
    @jayh.36324 ай бұрын

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

  • @rlocone
    @rlocone9 ай бұрын

    Thanks for explaining the mac/vlan. Appreciated it.

  • @TechMeOut5
    @TechMeOut59 ай бұрын

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

  • @WunderTechTutorials

    @WunderTechTutorials

    9 ай бұрын

    Thanks, Avi! Appreciate you watching!

  • @cani77
    @cani772 ай бұрын

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

  • @venti4268
    @venti42689 ай бұрын

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

  • @K0ROLOV
    @K0ROLOV4 ай бұрын

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

  • @Jase989
    @Jase9892 ай бұрын

    Great explanation Thank you very much!

  • @memoopi
    @memoopi9 ай бұрын

    as always, awesome!

  • @almazmusic
    @almazmusic9 ай бұрын

    Massive solid and clean pitch. Thank you.

  • @jonathanlewis2008
    @jonathanlewis20082 ай бұрын

    Very useful, thanks!

  • @norbertbans
    @norbertbans4 ай бұрын

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

  • @WunderTechTutorials

    @WunderTechTutorials

    4 ай бұрын

    Thanks! Glad it helped!

  • @aov_james
    @aov_james6 ай бұрын

    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

    6 ай бұрын

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

  • @Bumblecito
    @Bumblecito2 ай бұрын

    Thank you so much!

  • @QuikTechSolutions
    @QuikTechSolutions9 ай бұрын

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

  • @WunderTechTutorials

    @WunderTechTutorials

    9 ай бұрын

    Thank you, Tony! I really appreciate you watching!

  • @JShayy
    @JShayy4 ай бұрын

    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

    4 ай бұрын

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

  • @L8rCloud

    @L8rCloud

    2 ай бұрын

    @@WunderTechTutorials [INSERT ROB SCHNEIDER MEME HERE]

  • @parthp3639
    @parthp36399 ай бұрын

    Great content as always

  • @WillBelden
    @WillBelden6 ай бұрын

    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

    6 ай бұрын

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

  • @fatannasty
    @fatannasty5 ай бұрын

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

  • @WunderTechTutorials

    @WunderTechTutorials

    5 ай бұрын

    Thank you very much! Maybe one day! LOL

  • @Dutch1961
    @Dutch19615 ай бұрын

    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.

  • @DeanDetton
    @DeanDetton9 ай бұрын

    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

    9 ай бұрын

    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!

  • @Techie4life
    @Techie4life9 ай бұрын

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

  • @WunderTechTutorials

    @WunderTechTutorials

    9 ай бұрын

    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.

  • @duchampnya3763
    @duchampnya37638 ай бұрын

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

  • @WunderTechTutorials

    @WunderTechTutorials

    8 ай бұрын

    You will have to create the folder.

  • @AnomalyMP
    @AnomalyMP7 ай бұрын

    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

    7 ай бұрын

    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

    7 ай бұрын

    @@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

    7 ай бұрын

    @@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-rb8ig5hw7e2 ай бұрын

    СПАСИБО :)

  • @JBehrMusic
    @JBehrMusic5 ай бұрын

    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

    5 ай бұрын

    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

    5 ай бұрын

    @@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

    5 ай бұрын

    @@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!

  • @charlesromney
    @charlesromney9 ай бұрын

    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

    9 ай бұрын

    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.

  • 7 ай бұрын

    I was about to install Pihole following your written tutorial in your webpage. Then, I saw your KZread 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

    7 ай бұрын

    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!

  • @Simpuhl
    @Simpuhl4 ай бұрын

    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

    4 ай бұрын

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

  • @Simpuhl

    @Simpuhl

    4 ай бұрын

    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

  • @ronald0122
    @ronald01229 ай бұрын

    great video. i use watchtower for updates

  • @MichaelBelisle
    @MichaelBelisle2 ай бұрын

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

  • @jcdent5775
    @jcdent57752 ай бұрын

    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.

  • @WunderTechTutorials

    @WunderTechTutorials

    2 ай бұрын

    Yes, you are correct. You can.

  • @mdawas1986
    @mdawas19867 ай бұрын

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

  • @WunderTechTutorials

    @WunderTechTutorials

    7 ай бұрын

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

  • @mdawas1986

    @mdawas1986

    7 ай бұрын

    @@WunderTechTutorials many thanks

  • @DaveBerthiaume
    @DaveBerthiaume9 ай бұрын

    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

    9 ай бұрын

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

  • @DaveBerthiaume

    @DaveBerthiaume

    9 ай бұрын

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

  • @tomschi9485
    @tomschi94856 ай бұрын

    *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

    6 ай бұрын

    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
    @Aixalld8 ай бұрын

    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

    8 ай бұрын

    Is anything mentioned in the Docker logs?

  • @Aixalld

    @Aixalld

    8 ай бұрын

    @@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,

  • @ms7165
    @ms71657 ай бұрын

    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

    7 ай бұрын

    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
    @hanswi3369 ай бұрын

    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

    9 ай бұрын

    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: kzread.info/dash/bejne/lX6q2pmse8XPcaw.html

  • @hanswi336

    @hanswi336

    9 ай бұрын

    @@WunderTechTutorials Thank you for your quick answer.

  • @Nerd1701
    @Nerd17019 ай бұрын

    Hello, not sure but a couple of days again I posted a question concerning Docker security - see NasCompares - kzread.info/dash/bejne/o2p5ucRuhcmahaQ.htmlfeature=shared, but looking through the comments I see that post was deleted? Anyway, can you provide any insight concerning this issue??

  • @WunderTechTutorials

    @WunderTechTutorials

    9 ай бұрын

    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

    8 ай бұрын

    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
    @Pootch179 ай бұрын

    I am using watchtower to update my containers automatically.

  • @L8rCloud
    @L8rCloud2 ай бұрын

    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 KZread 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
    @noribinios587324 күн бұрын

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

  • @WunderTechTutorials

    @WunderTechTutorials

    24 күн бұрын

    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).

Келесі