OpenMediaVault 7: Step-by-Step Docker Deployment with Docker Compose Plugin - Episode 2
Ғылым және технология
Hey there! Welcome to another installment in our OpenMediaVault 7 video series! In this episode, we're diving into the nitty-gritty of Docker deployment using the Docker Compose plugin. If you caught our previous video, we set up OpenMediaVault, configured the dashboard, and even updated the system. Thanks for the amazing response to that, by the way-it's what keeps this series going strong!
Today, our focus is on getting everything ready for Docker. First up, we ensure our drives are recognized in the dashboard and set up a file system, opting for EXT4. Then, we head over to OMV Extras, which is pivotal for installing Docker and Docker Compose seamlessly into OpenMediaVault 7. After a quick SSH session into our server and a couple of clicks, we have OMV Extras set up and the Docker plugins installed.
Security-wise, we also create a dedicated Docker user in OpenMediaVault, a good practice to keep administrative tasks separate. Once Docker is up and running, we verify its installation via terminal commands and ensure all permissions are set correctly for future container deployments.
To cap it off, we celebrate our progress by deploying a Docker container using OMV's integrated Compose setup. It's a satisfying end to a productive session!
If you're following along with your own setup, let me know in the comments section. And as always, don't forget to like, subscribe, and hit that notification bell to stay updated with our latest tutorials.
Your support means the world to me-it's what keeps this channel thriving.
Happy Docker deploying, and I'll catch you in the next video!
Links:
omv-extras.org/
hub.docker.com/r/linuxserver/...
Playlist:
• OpenMediaVault 7 (OMV7...
Timestamps:
0:00 Intro
0:25 Recapping the Previous Video
0:48 Setting Expectations
1:26 Creating and Mounting File Systems
3:00 Installing OMV-Extras
4:44 Installing Docker and Docker Compose Plugins
5:29 Setting Up Necessary File Shares for Docker
6:56 Installing Docker
7:10 Verifying Installations and Checking Versions
7:36 Creating a Docker-Specific User for Security Reasons
9:03 Getting UID/GID for Our Users
9:21 Explaining Where We Use UID/GID
9:31 Deploying a Docker Container Using OMV's Integrated Compose Feature
13:26 Wrapping Up and Next Videos
/=========================================/
Get early, ad-free access to new content by becoming a channel member, or a Patron!
✅ / dbtech
✅ / @dbtechyt
All My Social Links:
✅ dbt3.ch/@dbtech
Join Discord!
✅ / discord
Пікірлер: 78
Thank you so much for this serie.
@DBTechYT
4 күн бұрын
Glad you enjoy it!
Thank you for a great guide, once again. I have been following you for a couple of years and your content is always top notch!
Thanks to you man ! It's super nice to have those guide updated and fresh !
Thank you, sir! This is my first foray into OMV moving from TN, and I really like the simplicity of the UI and setup/config over the latter. It is a bit confusing to start with, but you simplified it well. Thanks again!
@DBTechYT
21 күн бұрын
Glad it was helpful! I've got more videos planned and coming out soon!!
Merci pour ce tutoriel très clair, moi aussi, je vous suis depuis quelques années déjà. Vous me faites progresser aussi bien sur OpenMediaVault, qu'en la compréhension de votre langue. J'attends avec impatience votre prochaine vidéo. Nota Bene : je vous laisse traduire mon commentaire.😊
Came across your first video a week after deciding to move ahead with OMV7 for my diy NAS build, it was very informative. I sat down this morning to read the omv documentation on kvm and docker compose, opened youtube to play in background and found this video at the top of my feed! Hoping you can cover KVM in one of your next videos.
@DBTechYT
27 күн бұрын
Just looked into KVM for Linux (specifically OMV). Wasn't aware of the term "KVM" outside of a keyboard/mouse switcher. So KVM is kinda like Cockpit? Is that correct?
@jassandhu
27 күн бұрын
@@DBTechYT Never heard of cockpit but after a quick read it seems as though they are both a type 2 hypervisor utilizing kernel based vm’s (hence term kvm).
Good Morning - thanks for sharing this. i tried OMV for short time, it was an easy install.
@DBTechYT
27 күн бұрын
Great to hear!
Well done!
Thank you so much bro, Keep up your great videos LIKED as always.
@DBTechYT
24 күн бұрын
Thanks
You cant make these videos fast enough... Thank You!!
Hey David, great video as usual. Your content got me into self-hosting. As I just had to swap out a drive linked by uuid, it may be good to show viewers how to set up symlinks through omv extras as it minimises updates if a drive does fail
Thanks for the video, I think i'll be sticking with v6 for now!
@DBTechYT
27 күн бұрын
Thanks for watching! I don't blame you for sticking with 6 if you've already got it configured the way you like. Apparently you can upgrade from 6 to 7 according to this post: forum.openmediavault.org/index.php?thread/50649-successful-migration-from-omv-6-to-omv7/
Thank you. 👍🏻👍🏻
Thank you for this. Omv 6 was such a step backward.
@DBTechYT
26 күн бұрын
Agreed! :)
These are great videos. I am following along. Only thing is you go too fast sometimes. But I got through it. Nice feeling of accomplishment, thank you.
@DBTechYT
23 күн бұрын
I've had this on my website for years now: dbtechreviews.com/i-talk-fast
Love the videos they have been so helpfull! Can you make one on how to install something like immich in the docker to use the NAS?
Keep up the good work! Could you show us how to run homeassistant on OMV7? Think alot of people like to run this.
we need as many docker installs examples as you can make.
How's the functionality of the Docker Compose plugin compared to Portainer? Can it view logs, attach console, exec console? Would like to see more of the functionalities it offers.
@DBTechYT
19 күн бұрын
You can definitely view logs and follow logs and even download logs, but there isn't a way, at least not yet, to do an exec console. I actually talked a bit more about some of the compose functionality in the 3rd video in the OMV7 playlist: kzread.info/head/PLhMI0SExGwfBhVH47ouP59kEc0ahXmlpv
Thank you man! I don't understand why default podman addons don't have documented and laks of functionality that extras docker does.
Thx!!! SABnzbd over docker is what I try to do. There is no official client for Linux and outdated Flatpak, thats why will try to run this over OMV/Docker. I use docker few years and its more than I need but with Docker I can run AdGuard DNS, SABnzbd, etc. on a single device
Good video as usual. I hope there will be a simple way to upgrade from OMV 6.
@DBTechYT
27 күн бұрын
I'd start here: forum.openmediavault.org/index.php?thread/50649-successful-migration-from-omv-6-to-omv7/
can u plz make video about raid and how to replace a disk with bigger one thank u for all the great videos
Very good stuff! Alot of fiddling, but looks solid! Can portainer be used in conjuction with the docker scripts in OMV or will it interfere and cause issues? Keep em coming!!!!
@DBTechYT
27 күн бұрын
Thanks for the comment! You can install Portainer in this setup and use it alongside the current config :)
@haydenc2742
27 күн бұрын
@@DBTechYT I updated my OMV 6 to 7, then installed freecad in a container with your walkthru! Worked like a boss...no problems whatsoever! Awesomesauce!!!!!!!!
I think if using docker a lot, then using the 'global .env' from within compose plugin, ie tz, puid, pgid, and various paths, just makes docker so much easier.
@DBTechYT
27 күн бұрын
Which would be fine unless you had a docker compose file that you also wanted to have specific credentials in for databases and that sort of thing. I think it would get messy pretty quickly. But, for lots of simple deployments, you could definitely do that :)
@try-that
27 күн бұрын
Both should work together. I also think a global and local '.env' option is in the next release of Dockge (whenever that comes out 🙂) For me it's the best thing about compose plugin, it just makes life easier, I suppose you could use symlinks for the paths, which I use when sshing in to OMV. But as we know, there is rarely just 1 way of doing anything when it comes to PCs.
Another great video! I run just Ubuntu and Dockge as my home server. Backup and restore is the biggest issue. Promox is overkill so I'm hoping OMV will be a good solution for this.
@DBTechYT
27 күн бұрын
I'm definitely going to get into backups and that sort of thing in upcoming videos :)
Thanks. Good video. I'd like to see an arr stack (Sonarr, Radarr etc) with Jellyfin or Plex. I have a Zimablade. Trying to get away from CasaOS.
@DBTechYT
25 күн бұрын
Thanks. Unfortunately, I can't do videos about the *arrs. Made a video about it in January: kzread.info/dash/bejne/fJ2kqKurpJa2pps.html And TorrentFreak picked up the story from there: torrentfreak.com/how-youtube-policies-of-the-future-affect-creativity-today-231216/
@jgz2
25 күн бұрын
@@DBTechYT Darn. Did not know how draconian the rules were. Thanks for the reply.
thanks for the tutorial. can i request for a omv 7 tutorial for photoprism? i can't get the plugin to work
hi teacher i want know install and config filebrowser on omw7 using docker
As a newbie to Linux / NAS found this very useful 👍 Any chance of showing a good download manager that mimics Synology’s equivalent?….
@DBTechYT
26 күн бұрын
Do you mean Synology's "Download Station"? If so, I have to skip that kind of content as KZread's team of "experts" is likely to think it's promoting piracy and I'll get hit wiht ANOTHER community guideline strike...
Ages ago omv allowed you to deploy vms via the omv extras. It was bugging but I kinda wish they could have improved on it and brought it back.
@DBTechYT
27 күн бұрын
Apparently there is a plugin called KVM that allows for that. I'm going to look into it and make a video about it I think :)
@digitalbots
27 күн бұрын
@@DBTechYT fingers crossed it's not buggy like the last one.
I know it's early in the series.... But do you have any plans on showing how to upgrade from OMV6 to OMV7... Just asking for a friend.😁😄
@DBTechYT
27 күн бұрын
thanks for the comment. I've answered the question about upgrading from 6 to 7 a few times already on this video. I don't have 6 installed because of how much I hated it. Also, I don't want to deal with the comments that will 100% happen like, "YOU RUINED MY SERVER BECAUSE OF THIS VIDEO". I've received a LOT of comments from people who can't follow instructions or who think that THEY don't need to run backups of their stuff before taking on a task like that. There are forum posts available out there that have instructions for those who want to do the upgrade. I'd start here: forum.openmediavault.org/index.php?thread/50649-successful-migration-from-omv-6-to-omv7/
Can I ask why you added the Docker user to the groups you did? The official OMV documentation says only adding it to the users group is enough.
@DBTechYT
26 күн бұрын
I was giving a demonstration. I also said in that segment for viewers to do their own research to find what groups they should use for their setups.
@cowanh00
26 күн бұрын
@@DBTechYT Makes sense. Thanks.
12:23 Is it ok to replace with a relative path instead of the absolute path ?
@DBTechYT
5 күн бұрын
It should be fine, but you'd want to try it to see if it works
Hey, thanks for the video, minor comlaint, man you talk so fast LOL. Also am I blind or did you miss adding the link in the description for dokuwiki?
@DBTechYT
24 күн бұрын
Updated. Also: hub.docker.com/r/linuxserver/dokuwiki Honestly, this was me slowed down. It's been brought up so many times that I added this page to my website years ago: dbtechreviews.com/i-talk-fast/
Is it ok if I create the compose folder in the SD card ?
@DBTechYT
5 күн бұрын
That sounds like an awful idea, but you do you
Why do you have to give the data folder when you "reinstall" docker? Shouldn't any folder work as a data folder like normal docker?
@DBTechYT
27 күн бұрын
You can map whatever folder you want. I just named it "Data" because that's the name of that section in the dashboard. I was just trying to keep it simple.
@Captn_Grumpy
26 күн бұрын
@@DBTechYT It might be useful to some users to set up using symlinks before creating docker containers and other storage mapping/rights/shares. I use it to simplify transitions to new hardware/installs. This way all my scripts, compose files etc keep working (too many locations to update without missing some :D )
Is it ok to install the omv-extras from the Plugins ?
@DBTechYT
5 күн бұрын
You have to add omv-extras to OMV7 via the command-line. Then you can use the plugin. I cover all of this in the videos in this playlist.
@stylewan
5 күн бұрын
@@DBTechYT Thx
Please cover lxc and VM please
@DBTechYT
26 күн бұрын
Can you be more descriptive in how you'd like to see it done?
7:33 you should use newer docker compose instead of docker-compose...
@DBTechYT
27 күн бұрын
You apparently don't know this, but that's the command to check docker compose. I even made this video specifically for you to show that I used the correct command and even demonstrate the command that you think I should use is wrong: kzread.info/dash/bejne/m4N_z8iNhKuzpqQ.html
@HelloHelloXD
27 күн бұрын
@@DBTechYT thanks. I tried to comment under the video... I don't know if you got it. I will post it here as well from docs at docker "Unlike Compose V1, Compose V2 integrates into the Docker CLI platform and the recommended command-line syntax is docker compose."