Dockstarter auto-magically installs dockers on Openmediavault

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments

A big thank you. The video was really easy to follow and DockStarter seems to ease significantly the new apps installation procedure!

πŸ‘οΈŽ︎ 2 πŸ‘€οΈŽ︎ u/ZEB-Engineer πŸ“…οΈŽ︎ Apr 29 2020 πŸ—«︎ replies

Thank you! This is a great addition to OMV 5. I installed this and then used it to install Emby & Ouroboros. I will probably install more and try them as the installation is so easy with this.

πŸ‘οΈŽ︎ 1 πŸ‘€οΈŽ︎ u/johnhnhn1 πŸ“…οΈŽ︎ Jan 19 2020 πŸ—«︎ replies

I don't understand the purpose of the Dockstarter. Would it be easier to use docker-compose than going thru all the trouble setting this up?

To install docker-compose, all it takes is "apt install docker-compose" and a .yml file. The .yml file is already provided by the containers dev.

πŸ‘οΈŽ︎ 1 πŸ‘€οΈŽ︎ u/forwardslashroot πŸ“…οΈŽ︎ Jan 20 2020 πŸ—«︎ replies
Captions
so welcome to techno Dan laughs where we build learn and create as a community and so we have a special treat today and so this is docker starter and so docker starter well maybe I'll put a little context in here so probably you like me are sort of the computer guru for your family and friends maybe you have a job doing it but we're setting up machines and doing things and just sort of troubleshooting things but setup takes a long time usually and so the idea of docker starter is to solve that problem and so docker starter basically will quickly and automatically install a bunch of Dockers for you so you don't have to do a lot of the setup and it still takes a little work but definitely less time then say you know doing them all individually if you do it the right way and so if you like this video today make sure you like and if you haven't already subscribe and here we go [Music] and a special thank you to all my patrons who without your support this channel would not be possible and if you haven't already please think about becoming a patron and supporting the channel you love okay so before we get started I'll just preview a few things that are coming up so one is I have a four port network card and so this is going to be for our router that we're going to be building and we're gonna try out pfsense though we may look into other things and so next what we're going to be doing is building a server rack and we're gonna start putting all our equipment in a server rack so we'll be doing some home lab stuff and so basically my idea is that I want to be able to access my computer from anywhere in the world say I go on vacation or I'm on a trip or I live someplace else you never know but the idea is that we set everything up so then everything is self hosted and so when I say self hosted we have our you know documents our photos our movies our passwords so basically everything that we would normally do on the cloud I would create my own self hosted cloud so today what we're going to be doing is installing backer starter and so docker starter so to automagically installs most stackers though some need a little need a little extra tweaking after they're already put up if we scroll down all we really need is this section right here and so for us that we really need just the three commands but we have to do some preparation before that in order to get those to work so let's go to open media belt and let's take a quick peek to make sure your settings are correct for this to work because there are things have to be set up correctly in order for it to work trust me I've to do this about 20 times so far and it's very particular about how things put together but once things are put together right then pretty much everything happens magically so the first thing is we're going to go over to network click on network click on interfaces click on our interface and then click Edit and we're gonna scroll down and we need to have a DNS server here and so here I've put in the Google DNS server 8.8.8.8 then once you do that click Save and then what will happen is you will lose your connection to your server and so what you have to do is go back to your router then find the new IP address of your server because it will have changed next what you want to do is make sure you have putty installed because we're going to be using it a few times in this tutorial and then we really you want to make sure you have all your updates so check your updates install any updates before you start this because not having all the updates installed can cause this to fail the last thing that we need is open media vol extras installed where you can find that is an open me eval extras org and then all you're going to do is copy this line and then paste it into putty and then go from there now we're going to check out a few other things that are a little different than most setups that we have to change in order to have docker starter actually work duck starter instead of docker starter this is the part that was sort of frustrating and took me a few days to find out so go down to user and click on user and here I have a user setup already and the group sit in our in our currently just the user's group now if we go back to docker starter you'll see here that it has a couple requirements and so one is that it has to have an on root user with sudo permissions so if we go to open media vaults here you can see all my user is in is in the users group and so we need to add it to the pseudo group and also one other thing so we click on our users so it's highlighted click on edit and there's our user we want to make sure it has a password then click on groups and scroll down and so we need to add in two things so one is SSH because we have to add use putty and then the other one is sudo and then click Save and then apply and yes so now adding the password the sudo and the SSH if you don't do that this will not work and you will be very frustrated for days on end you've been warned next we need to go down to shared folders and we need to make sure that we have three shared folders although once we get this set up you can see that you can make your folders anyway you want because how doc starter actually sets up the folders is uses sort of a different way of doing it than what we or at least I normally do in open media vault so in the future you might want to change how your folders are set up so docker starter can do it automatically and there's less hassle for you but this is the way we're doing it for right now and then one other thing here you notice I have the extra installed reset perms why we need this is that sometimes the Dockers reset some of the permissions and so we're going to change those right now just to make sure everybody's on the same page to start out with and so if you don't know where reset perms is I'll show you where that is right now so after you have OMB extras installed you'll have extra plugins click on plugins scroll down scroll down to near the bottom and there's a reset perms and click on that and then install and so basically reset perms allows you to reset the permissions on a folder when not through the command line so basically for the GUI and why we need to do that again is because sometimes Dockers change permissions and folders so then we have to go unchanged them later now we're going to go back to the user group and then you see there's a button up here that says settings we're going to click on that and then we're going to enable home directory and then we have to change where we want that to go in the line below so first we click on that and enable and then we get to pick a place if you leave this at none what will happen is it will place this on your boot disk and your boot disk will fill up really quickly I don't suggest doing that I suggest putting it in one of the folders that's on a disk outside of your boot disk so here we're just going to put it in app data but you can put it in either one of these and then click Save now to check this we can go to our Samba shares and in our app data folder there should be a folder called Jef now so let's take a look so here we are so here we are on our nook we have three folders the four three folders what we saw before we go into app data and now you can see there is a folder named Jeff and so that is where doc starter is going to put the majority of things and we're going to actually just for the sake of making it easy put everything in there today even things like movies and music and so on and so forth so now we're to the point where we can actually install doc starter and so let's do that now so we're going to open up putty now we all we need to do is put in the host name of our computer or IP address and so if we look over here it's one nine two one six eight dot one eight eight and then open then login as your user so me it is Jeff hit enter put in your user password hit enter so now we're on the command line and so what we're gonna do first is copy this and then paste it there and so how you do that is you simply highlight it copy in Windows and then just right click in putty and then it will paste it then hit enter and our password again and then enter and it will start downloading that click yes to or Y to install it so once that's done we're going to copy the second line here and then paste that into putty and then hit enter and so this part will take quite a while so you can go have a cup of coffee so once that's then we're going to type in sudo reboot to reboot the system so when we do that putty is going to lose connection with the computer with the server as its restarting just hit OK and then we're going to have to log back into putty and then what you need to do is go back to your OMB and just hit the refresh button so everything comes up new here otherwise you're gonna be wondering why your machine is frozen but it's not really frozen just needs to be refreshed next we need to log back into putty and if we go back to docker starter so the final thing that we need to do from this page is type in sudo DES and so let's do that right now and this will actually start dock starter so hit enter put in your password and then here you will get this sudo unable to execute user local bin /d s and so what this is is an error we need to change the no exact file with and so there's no exact causes problems and many different things like Plex OpenVPN that causes a problem also next cloud it causes a problem and so in my future videos what I'm going to do is when we set up the server we're just going to take that out but for right now I'm going to show you how to do it so first exit this and so we're going to log back in as routes and then our server name or server password excuse me and where you can find more information about this is if you go to the OMB guide you'll see right here this is the file system environmental variable section and so you can copy this here so this guide is for OMB 4 so we actually have to do things a little differently because I'm on OMB 5 but if you're on OMB for then first you'll do this you'll edit the no exact and then you're going to put in OMB make config fstab for OMB 5 we have to do things a little differently so for both versions of OMB we need to copy this paste that into putty and then it opens up Nano and so now we're going to hit f6 and that will bring in the search and so in search we're going to type in m and T ent and that will get us to the right section hit enter and so here now you can see we're in MN TNT and we need to go down we don't need this yellow section we need to go down to this white section and here you can see there is the no exact that we need to eliminate so we arrow down a little farther put our cursor on the and then start hitting deletes and then once we get to the you we need to stop and then at the bottom here are the commands and so the little arrow pointing up means hit the control button so we're gonna hit control X and then we're going to hit Y to save and then hit enter if you get any type of error when you're using putty and you're using mana more likely as you've added a space somewhere and if it says error line 1 or line 2 more unlikely you've added a space at the beginning of that nano with nano excuse me and so you have to go back and delete that using putty and then using nano to get back into that configuration file so now we're simply going to type in sudo DS to get this running so here it says it's unable to execute because permission denied and so what's happened as in the installation some of the permissions have been changed so if we go back to open media vaults and go down to shared folders reset permissions and so we're simply going to reset permissions on our folders and then once you've done that click Save and so let's go back to putty and we'll try that again so the mistake I've done now is that I've logged in as root and we actually have to login as our user to run this program so close that log back in as your user hit enter and so now we're going to type in sudo DES hit enter and our password and then hit enter so at this point what I realized is that I had to reinstall docker starter yeah which is super simple just go through those same steps again because for some reason when we change those permissions it stopped working and so once we reinstalled it then we did the sudo DS and it works so now we can start setting up dock starter and so we're just going to be using the tab key and the enter key for the most part so tap to okay hit enter for setup and start applications and we're gonna do full setup and then we're only going to do a few Dockers just for example today but you can add in a whole bunch you could actually fill up your disk I've managed to do that if you install everything so let's just scroll down and pick a few and so you just used your arrow down key and so we'll pick handbrake and so here you see or Boros and so what this does it automatically updates your Dockers for you like other programs we've used in the past this one just has more options and as you can see lots of programs we already have partener installed so we're gonna undo that let's do cube it torrents and maybe radar and that's good enough for now so that is three different things we're gonna be installing so tab to okay yeah okay enter four okay and so here you can either purge your variables for disabled apps or not we're just going to leave this as no in case we want to install other things later and so now what it's going to be doing is going through the different variables for the different programs we're going to be able to lead them as is or change them so we're going to look at those individually and so how you would change this is it says would you like to keep these simply tab over - nope and then it's going to give you different options so here we can keep current on the network mode so we want to change this one because we want this to be inside of our one of our shared folders either our app data our downloads or our media folder so we're going to go down tab down to new hit enter and so we want to go over to open media vaults go over to our shared folders and then hit this down arrow hit columns hit absolute path make that a little bit wider and go back to putty and so for us we're going to want our output for our folder into the media folder so we're backspace and so what we did is we put in our absolute path for our docker so serve slash dev - bye - label - 1 TB slash media and then when you want the output of handbrake into the movies folder and then hit OK and so it says it's not a valid path would you like to create it yes and so it's created it and we can keep our ports and so we want to change the watch folder also so we're going to arrow down to enter new and same thing again and so here we ended up putting it in the downloads folder and then we created a watch folder tab - ok hit enter yes you want to create it created good and so or Boris you can keep all these it will basically so what it will do is install or check for a new version of your Dockers every evening and install that and delete the old one if you need to so just hit enter for yes and then for a qubit turn we can keep all these so we're gonna KITT yes and so for radar we're gonna keep that so hit yes and so we're not going to enable a VPN right now so we're just going to hit yes but if we do this is where we start to change it so this section is the global section so if you're going to be adding things in the future you want to change all these to the specific thing or area that you want it to be and then it will go much quicker to actually install things because instead of changing everything every time it's automatically populated for you with the things that you put in and so for right now we're just going to change a couple things so it's going to give suggestions so we're going to use America and New York since that's where I live and we're going to use OMB Nook and that is correct and we have to change our group ID to a hundred and we're going to use that config file and we're going to change our downloads to downloads and this is where you can see where you can actually save a lot of time once you have this set up and then finally after you have all the different folders set up you're going to run docker compose and then it will install them all and do some of the basic setup for us and again this is going to take a long time so go get another cup of coffee okay once that's done installing then you'll see it says cube it turn done handbrake done or borΓ₯s done radar done so now what we can do is go to port teener and take a look there and see what's happened so if we go to OMB OMB extras when you scroll down to open port Aynor when you click on local and then we click on images so right here you can see there are our five containers running one is poor teener which was already running and if we are those are our images excuse me and if we go to containers we can see that they're all running now so let's take a look at one so we'll go to 5800 which is for handbrake so we'll copy our IP address whoops all of our IP address paste that into a new window hit backspace colon 5800 and there's handbreak and it's working and you can use it right now if you want it to other programs so let's take radar which is at 78 78 hit backspace : 78 78 and when that loads up you can see here on this there's three things that need to be fixed yet and so from there on in it's just like setting up regular radar and so that is using dock starter and like I said there are a lot of little details in there that can go wrong and probably will go wrong to start out with but if you pay attention you should get it through pretty quickly once it's set up you can use it any number of times to add and delete programs but it's definitely worth the effort to learn if you especially are building a new server you can get sort of everything organized at once and that's it for today hope you found this video helpful and make sure you like and subscribe well see you next time and if you have any requests for any videos make sure you leave them in the comments down below bye bye [Music] [Applause]
Info
Channel: Techno Dad Life
Views: 53,497
Rating: undefined out of 5
Keywords:
Id: IdGtuJwouJc
Channel Id: undefined
Length: 25min 45sec (1545 seconds)
Published: Sun Jan 19 2020
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.