How to use Docker (Container Manager) to do ANYTHING! on Synology NAS

Поделиться
HTML-код
  • Опубликовано: 15 июл 2024
  • Thanks to Dragonfly for sponsoring this video! To learn more and get started today, visit www.dragonflydb.io/?...
    In this video, I will be covering how to use Container Manager in Synology DSM 7.2. Container Manager is the new name for Docker from previous versions of DSM.
    Hire Me! www.spacerex.co/hire-me/?utm_...
    Videos mentioned:
    Docker vs Virtual Machines: • Docker vs Virtual Mach...
    #synology #nas #docker
    TOC
    00:00 Introduction
    03:03 Thanks to Dragonfly for sponsoring this section of the video!
    04:22 What is Container Manager useful for?
    07:25 3 key parts of deploying a Docker Container
    10:06 Deploying a Docker Container using a yaml file
    23:28 Rebuilding a container
    25:14 Deploying a Docker Container without a yaml file
    27:17 Updating a container
    29:32 Conclusion
  • НаукаНаука

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

  • @petermarin
    @petermarin 11 месяцев назад +47

    Another video idea: your walkthrough of containers that you use/ know are useful/ are your favourite. Your long-form videos are some of the most useful on the entire platform.

    • @SpaceRexWill
      @SpaceRexWill  11 месяцев назад +8

      Thats on my list!

    • @TheDanny
      @TheDanny 11 месяцев назад +6

      @@SpaceRexWill oh I would definitely love to see that video. Think 90% of me setting up my Synology Nas and learning about it have been from your videos. Absolutely love the work.

  • @InhalingWeasel
    @InhalingWeasel 11 месяцев назад +5

    Jesus man, did you read my mind?! Literally today I decided to try running pgsql on my NAS and in you barge in with a video about it!

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

    Fantastic tutorial exactly what I was about to search for - and the answer in 30 odd mins thanks to this vid.
    We all appreciate your time spent on sharing - Thanks chap!

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

    I really appreciate this video. Everyone talks about containers and how awesome they are, but this video did a great job explaining what they are, how they work, and how to install. Great! Can't wait to start installing containers on my Synology NAS!

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

    Fantastic video. I started with NAS watching your videos. I just followed your instructions to create gitea... so very nice! Thank you so much again! you are the best.

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

    I've been introduced to the world of synology recently after watching many. Spacerex vids. I bought an older model from 2014rackstation for cheap but man alive I'm loving the features. This is me coming from drobo and qnap. I also use unraid and truenas scale but something about the UI on Synology makes it so much nicer.

  • @petermarin
    @petermarin 11 месяцев назад +7

    Man this is soo good!! I just wished you set it with web station and all the bells and whistles. You’re really good at explaining takeoffs and options with this stuff

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

    Thank you! Your tutorial was very helpful and thorough. I was having trouble with Jellyfin using the official documentation because it still says Synology uses "Docker" and not "Container Manager", so I was able to figure out that I had to add a port manually under 'Port Settings' to the container to get it to connect properly.😁

  • @US_Joe
    @US_Joe 11 месяцев назад +3

    Thanks for a great effort Rex. I'm taking 2 aspirin & will call you in the morning. 👍👍👍

  • @Driveby-2
    @Driveby-2 11 месяцев назад +1

    I'm runnng 5 dockers on my DS218+ Including PiHole and a Kubernetes controller, with no issues at all. i am still a noob at container setups, but so far it seems to be a kool implementation.

  • @gaijinboricua
    @gaijinboricua 7 месяцев назад +1

    great tutorial! You should do an update in which you add custom users for each image and only give specific permissions to these users. This way if a container image is compromised, the impact is minimal. This is the approach I was doing on my linux box previously and helps keep things in silos.

  • @mikeoreilly4020
    @mikeoreilly4020 Месяц назад

    Great video, Will, thank you. I'm just dipping my toe into Docker waters.

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

    Bro you are the Best!

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

    I ran Cisco Callmanager on the hypervisor. These NAS are beasts!

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

    I've been trying to install Baserow via Container Manger on my Synology 1522+ and for the life of me cant' figure it out, EVEN with your great tut! Oy me!

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

    Thank you so glad we can just use the code now

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

    Before watching it: this is exactly what I need now. 🎉

  • @bowser5
    @bowser5 24 дня назад

    With all the new ugreen users out there I would love to see a docker overview/walkthrough. Almost a docker basics as it relates to the ugreen app. Maybe walk through an install and discuss how docker works, what the settings mean, how to read/follow documentation, and how they are setup in the Ugreen OS

  • @LucasFernandes-ce4fg
    @LucasFernandes-ce4fg 11 месяцев назад +1

    That was freaking awesome, would you mind to do a second part with web station? I am doing some tests, it is working on my network but I don't know how, what would be the proper setup, make use of web station or reverse proxy. Thanks a lot this is awesome.

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

    Well, Will, I know a little more about how to deploy a Docker Container, but still have no idea why I would want to. Good video though. Thanks.

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

      I'm in the same boat 😅

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

    Will, I love your channel Its very informative As a result, I almost bought a synology unit I rely on closed caption, so transcoding is important to me so
    I'm all in on Qnap I purchased a 264 to test the waters I'm no IT expert, so I may regret it Synology appears to have abandoned the consumer household market

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

    I love your videos and my NAS is coming in soon but I just watched 30min and still dont have a clue what Docker is or how Container Manager actually works 😂😅😭

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

    Can You make step by procedure (GUI) for the Pi-hole on the "container manager" interface...
    Since so many videos coverin use of scripts and the "docker".. I think clear step by step procedure for the PiHole in "container manager" wold be a great video and also very useful...

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

    Hi @SpaceRex thanks for the content great info! I have a request if you can create a video about setting up a SIP app in synology such as 3cx?

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

    Very helpfull. Thank you.
    Can you make a video how to make a printer server using Docker please? I think this can be very usefull to many people. I have a printer and don't want to buy one more just because of networking capabilities.

  • @Don-ii4vm
    @Don-ii4vm 11 месяцев назад

    23:40
    When setting up the Gittea container, the SSL port had to be set to 22.
    Was that setting stored in the yaml file that was used to rebuild it?
    Or would we have to go in and reset any settings after the container had been rebuilt.

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

    Greta video as always. I have tried several times to follow the steps shown. However, upon running the project crested I get a daemon error from the container. I found your written instruction on line and those worked but without creating a project (without the ja o file). Any tips? Thanks.

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

    Hey Will. I've been watching your videos for awhile and have just noticed that you've got a picture of an AC-47 Spooky behind you, haha. I love gunships.

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

    Great video! Just one quick question, can I create desktop shortcut on NAS desktop for a container which I commonly use? Just like what we do with a package. Many thanks!

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

    How does it impact performance of the NAS? I have a bunch of HP elite desk minis. Wouldn't it be better to use these separate computers using Proxmox to run HomeAssistant and my low bandwidth webpage?

  • @kennethmaultsby452
    @kennethmaultsby452 9 месяцев назад +2

    Can you help us Newbies on how to create a Minecraft server with the new Container Manager.

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

    Your shirt is fire.

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

    "All right, how is it goin' y'all?".... under one second. Crazy

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

    Thanks a lot, that video is great, I still have a question though obviously ;).
    I want to deploy my own program (in python) in a container on my NAS and that container would be doing some API querying for which it requires proper credentials; what is your recommendation when it comes to storing the credentials and how would you build a container that uses that info
    I understand there is 2 approaches, the most secure being the docker secret which I do not know how to use with Synology Container Manager (or at all really). While the second one seem to be related to environment variable and Docker Compose which I also don't really understand how to use.
    Any help would be greatly appreciated
    Thanks a lot and kudos for the video as always ;)

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

    Question....so I didn't know about the extra volume stuff while updating my jellyfin server on synology. Is there a way for me to recover the user and config files after that image was already updated and wiped? :(
    Also, since the I just reset the server but again didn't do the volume for the configuration folder etc., is there a way for me to ssh into the right folder paths and pause the docker container and redirect it to the manually created volume folders?

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

    Love docker, love my syno, love this video :D The next step for me is : how to safely access my containerized services outside of my house ? Is webstation the solution ?

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

      You need reverse proxy like nginx proxy manager.

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

    Could you please make a video on how to deply MediaCMS?

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

    Can you do a video on how to set up a Docker Palworld Server on Synology NAS

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

    A bit of a side topic, but I would love to see a video on how to mount samba/SMB shares inside a docker container. Let's say you have multiple NAS or are running docker on another machine for GPU offload, and need to connect to your NAS over SMB (or NFS). Can't get this working :(

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

      So this is not something that Synology or TrueNAS really support through the web interface easily.
      But standard docker has it.

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

    I picked up the Synology 1522+, added 32GB Ram, 10gig nic and 256GB SSD. Is this going to be capable of running plex server, NAS duties and a few containers? I thought it was 4 cores but apparently only 2. I am looking to run a Postgresql DB, an MQTT server and some IoT stuff including Home Assistant.

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

    I used one of your previous videos to install Docker on my DS920+, I then installed Jellyfin, I've notice that there is an update to Jellyfin, how do you update it in Docker without losing all my media. Sources on the net are saying you have to uninstall and reinstall it. Many thanks for your help

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

    Hi there, love your videos :) I am getting a health check message from my WP install that it needs a persistent object cache. I found that I need Container Manager, but is is not in the package centre on my DS418. Is there a solution to this please?

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

    great video! i hear you say you can host a wordpress website on synology/docker is that a good option to do or is it better to host it somewhere els?

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

      So if its just your stuff, then its not a big deal. Company I rarely recommend

  • @alexadabic
    @alexadabic Месяц назад

    I use container manager for selfhosted speed test and speed test tracker. Can i somehow hide docker, web and web station folders in file station?

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

    Are you running Docker as an admin? How do you open container manage as a non-admin?

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

    Do you recommend creating a separate user account just for running docker containers?

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

    @SpaceRexWill Can you make a video about hosting Unifi Controller on a Synology docker with automatic updates or an easy script for manual updating?

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

    what if the documentation has no YAML file? I'm having a hard time trying to deploy "jlesage/jdownloader-2"

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

    Any idea how to setup "akaunting" on synology Nas 1621XS+.Unable to find how to install on youtube.

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

    @3:03 - can you do a video Paperless-ngx:latest container, but replace the redis with Dragonfly?
    or ask your sponsor Dragonfly if they have these kinds of videos, {take a docker compose file that use Redis and replace it with Dragonfly, to see how it works & operate}.

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

    Please make instructions on how to install fastpanel on Docker

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

    Hey, is there a way to bind a docker container in Container Manager to a vpn?

  • @-J.R-
    @-J.R- 11 месяцев назад

    Hi,
    I am new to NAS and found your videos to be very useful. Thanks to you, I managed to set up my NAS, put my kids' movies on it, and ready to go... BUT I have a problem!
    Is there a way to get two people watching the same movie simultaneously? It seems that when one person is streaming a movie it gets locked and cannot be played on another device. Is there a way around this?
    Many thanks for your help.

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

      Hmmm, it would depend on how you are actually watching the video. In general anything playing it back should not lock the file.

    • @-J.R-
      @-J.R- 11 месяцев назад

      @SpaceRexWill
      Both devices are using MX Player on Android tablets. So I presume you never had this problem.
      I will try using Synology's video app on two tablets and see what happens. I thought there might be an option to control the number of instances for serving media files!
      Thank you for replying.

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

    Still no clue whether it's of use for me. Want new nas for home use, backing up home computer and photos from family mobile phones and then a way to easily view and share, like Google Photos. Current DS119J is useless as slow. Can docker allow me to virtually access windows machine remotely and from a mobile phone?

  • @djsandbird
    @djsandbird 19 дней назад

    Workaround to the Container Manager's permissions bug when running gitea:
    The problem:
    If you need to edit app.ini you'll find out that there's a bug in DSM and you can't edit it even as admin.
    Workaround to this bug:
    1. Create a folder "conf_for_changing" in the parent folder of the "conf" folder
    2. Stop the container
    3. Copy app.ini from conf to conf_for_changing
    4. Edit app.ini in conf_for_changing
    5. Copy app.ini back to conf
    6. Start the container

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

    Any clue how to get a SAMBA server working? I can't get macvlan to work. I want to allow my Hikvision cameras to connect via SMBv1 to a limited Docker container folder without opening up the entire NAS to SMBv1.

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

      Hmmm, might not really work as your host would be using the SMB ports

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

      @@SpaceRexWill That's the reason for macvlan to use a separate IP for the samba container.

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

    Bit gutted bought a synology ds416 didnt do my homework first as i didnt realise i couldnt upgrade the ram, its only 1gb and its soldered so im kinda stuck now. As i wanted to run sone dockers to run some apps

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

    If he happens to not mention, Synology doesn't update it's OS if things are going well. Mine was happy with 7.1...which does not have Container Manager. I had to manually install 7.3

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

    For some reason when I try to paste into the thing where you create project, it does not work.

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

    Run your startup on Synology ;)

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

    I finally decided to install Docker and now it is no longer available. OK, supposedly it was replaced by the Container Manager, but that I can't find either. And I am running the latest version of DSM....
    Does anybody know what's going on?

  • @user-wm4xr5wt8f
    @user-wm4xr5wt8f 8 месяцев назад

    I followed all the steps. But I have no clue how to interact with these docker images

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

    It's easy enough with a yaml file, but what about all those containers that lack a "docker compose"?

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

      All containers can use a docker compose. Docker compose is just an easier way of entering the container settings

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

    Do you thinks is ok use Pfsense in docker on the NAs?

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

    "If it runs on a Docker container, it runs everywhere" is unfortunately not always correct. I've been trying to get Filemaker Server running on a Synology NAS for two years now. Unfortunately without success! On a macOS with Docker it works, but not on the NAS.

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

    Does anyone know the max storage you can put in a da923+ like across the four bays the total capacity?

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

    Docker is to Operating Systems what Macromedia Flash was to Internet Browsers

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

    My wazuh docker containers stopped working as soon as I updated to DSM 7.2 🤬

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

    skip the first 10 minutes if you already understand docker technology and want to just see it interacting with the nas

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

    Yeah BUT no - You can't deploy anything. It needs to be supported by the processor you have.
    I tried to deploy the latest mySQL package and nope

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

    How to config an auth on docker with synology is Pain.
    There is no good documentation or giide out do it. ???? Mongo dB project filé with a config file.

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

    Why is it that, instead of providing adequate and detailed, easy to follow documentation and videos, 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
    IT MAKES ME FURIOUS
    …I guess it’s no longer a mystery what the ‘S’ stands for in Synology

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

    I managed to stumble through the deployment of a couple of containers and, even with all of the YT hand holding, I have to say that it was not without its frustrations. The biggest limitation with containers is that we mere tech mortals will never be able to containerize our favourites apps. While we are grateful to these generous people who create and share their containers with us, far too often those containers have very limited daily use for home or business users.
    One small nit to pick on the video... whereas the yaml file used "data" as the data folder, you created and used "gitea_data" as your preferred name. It's a small thing but you loose an element of the continuity from the author of the container to your deployment. It appears that is your personal naming preference but the more inquisitive among us wonder why you did that and whether it is relevant. When the lesser knowledgeable among us are troubleshooting our failed deployments, we are looking for differences between the two and this just throws up a red herring to muddy the waters.
    Thanks for the continuing education Will.

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

      volumes:
      - ./gitea:/data
      The yaml file is actually using "/gitea" as the local file path. "/data" is the docker container's folder which cannot be changed. In docker-compose, it's formatted as [/the local folder where you want it to put things] : [the path in the docker container (do not change this)]. So you can rename that first folder to anything you want. In this case "./gitea:/data" you can name "./gitea" anything you want, and it'll use that as its ":/data" folder. gitea_data works well because it's a little less generic if you go through that folder later.
      Random note, using a period before the first folder name (ie "./gitea") simply means if the "/gitea" folder doesn't exist, docker will create that folder for you. If it already exists it won't do anything. I think this can be very helpful for backing up docker as you can deploy it on another machine without worrying about folder paths not matching up.

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

      I’ve been saying this for quite sometime over on Synology Reddit. Usually get smacked down over there when I do. I’m definitely missing DSM 6. 😢

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

      @@donjohnson1963 Thanks for continuing my education.

  • @SebastianH88
    @SebastianH88 4 дня назад +1

    So basically, you need to learn coding to use stuff on Synology, wish I know this before I got this shitbox....

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

    fantastic BS, and this is EASY ?

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

    Find your channel.. I will take ABO .. BUT there is one BIG Thing you must change .. stop talking so fast ! … take time … no need to hurry.. that will make it more credible 🖖🙏
    ..

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

    To me this is not easy! Easy based on what prerequisites? It only easy if you just follow the steps. We do'nt know why you are doing what you are doing or the consequences. I just want to run some basic applications. When i bought my NAS i thought i'd be able to install some basic applications, configure them in the interface, and do what i need to do. I can't find any good comprehensive courses on this crap.