September 29, 201411 yr I'm trying to get started using Docker, however I'm starting at unRAID 6.0 Beta 10, and my interface around extensions/Docker looks different. (I upgraded a 5.05 install with Pro key to 6.0 beta 9, and upgraded to beta 10 tonight and started to configure my array (no configuration on the array prior). My docker section has a greyed out "Docker image:" path of /mnt/disk1/docker.img and the service is currently stopped and won't start. My end goal is to move from my existing unRAID 5.05 array to my new 6.0 array. Currently my old array is running Crashplan and Plex, which is what I would like to get running on the new array via Docker. Where do I start?
September 29, 201411 yr <slaps forehead> the greyed out text is editable.... It's not text, it's a placeholder.
September 29, 201411 yr Actually I think we may need a new docker quickstart guide, or an updated one rather. For example in Unraid 6 Beta 6, the docker files were kept in a location that was set by the user, I had mine stored on my cache drive. I have noticed that in 6 Beta 9, you can set where you want the default docker image to be, but then all the containers and other images related to docker are stored at: /var/lib/docker The user doesn't have a choice in where to place the docker folder anymore. I am also not even sure /var/lib/docker is on the cache drive, I think it is on the flash disk. I am sure there is some good reason for it, that I don't understand as I am not a programmer, and my understanding of docker isn't great. My understanding of using btrfs is that docker containers are basically made up of stacked docker images, and by having a base image on btrfs the filesystem uses pointers to that base image instead of creating a new one for every container, its like filesystem deduplication. But I don't understand why the choice of where to store the docker folder was removed. The only thing I can think of is that it does make some logical sense to keep running programs with the OS, instead of on another drive. Thank You
September 29, 201411 yr Actually I think we may need a new docker quickstart guide, or an updated one rather. For example in Unraid 6 Beta 6, the docker files were kept in a location that was set by the user, I had mine stored on my cache drive. I have noticed that in 6 Beta 9, you can set where you want the default docker image to be, but then all the containers and other images related to docker are stored at: /var/lib/docker The user doesn't have a choice in where to place the docker folder anymore. I am also not even sure /var/lib/docker is on the cache drive, I think it is on the flash disk. I am sure there is some good reason for it, that I don't understand as I am not a programmer, and my understanding of docker isn't great. The docker image volume is now used as the storage location for all the docker files and is mounted at the "/var/lib/docker" location. As you can choose the location for the image, you can still effectively choose where your docker folder is stored. The 6b8 announcement thread has the info.
September 30, 201411 yr This would make sense to me, and maybe this is where my understanding of docker diminishes. But I only see the one image file in the location I choose. However I have 5 different dockers running on my unraid server, and they all need to download images. How come I do not see several images in the location I choose? UPDATE: The announcment for beta8 is here http://lime-technology.com/forum/index.php?topic=34955.0 I went right from beta7 to beta9. So I never saw this, it actually did answer a lot of my questions, in any case, the current sticky thread for a Quickstart guide is for 6 beta6 http://lime-technology.com/forum/index.php?topic=33805.0, and given the name of this thread, i think its a bit self evident that a new or updated Docker Quickstart guide would be helpful to new users.
September 30, 201411 yr Definitely needs to be updated and details added. Been around the unraid world for a while and I still had far too much trouble with setting up the basics with docker. Main two issues was the greyed out text, it goes against most other programs design principles. First greyed usually means not editable and secondly usually if it is editable the text will disappear when the box is clicked on. Second issue was no mention of the need of a template or where to get one from. I know this is still being actively developed and is in beta. Also I'm sure there is work being done to have better documentation at the time of release. This has just been my experience so far. Sent from my SM-N9005 using Tapatalk
September 30, 201411 yr Ill volunteer to write down what I know, but not right now, ill try to do it tomorrow, and then the rest of the community can fact check me.
October 4, 201411 yr Author Ok, here is my quick start guide using gfjardim's template which makes the rest of the process look pretty simple (so far). The paths listed below assume that you are using user shares, if you aren't replace /mnt/user with /mnt/disk1 Click on the Docker tab. Where do you want to store the Docker image? If you have an SSD, put it there. This image will probably keep your drive from spinning down. Put that location in the Docker image text box with a file name. (The grey text is just a place holder so you can type there) I use /mnt/cache/docker.img (this docker.img file is like an iso file, and is actually mounted on your unRAID server.) Default image size, keep it at 10GB, read in the forums for reasons to increase it. Template repositories, this is what makes docker easy for us unRAID users, you can find a few template repositories throughout the forum, but a pretty good place to start is gfjardim'shttps://github.com/gfjardim/docker-containers/tree/templates Click Save. Then click start Click the Add button (The big green circle with a plus in it) Drop down the Template selection and select Crashplan Since everyone should be backing up data, I'll start with Crashplan. Read through the description Container volume is where you can access the Host Path inside the application Leave the /config line alone unless you really need to change it. (This is where Crashplan configuration files are stored) on /data Container volume set the Host path to /mnt/user Click Apply You should now have the Docker Container you just setup listed under Docker Containers. Notice there is an Autostart checkbox that you probably should check so you don't have to start the container everytime you restart your unRAID NAS. To finish setting up Crashplan, refer to this forum thread http://lime-technology.com/forum/index.php?topic=33864.0
October 4, 201411 yr Yes we need a new quick start guide. Since we merged in gfjardim plugin to enhance docker man, we need to guide folks through using that as opposed to the original way things were back in beta 6.
October 4, 201411 yr Well, the good news, is it truly is quite simple to get one up and running. I was able to by just clicking a few buttons and deciding where I wanted it. But it was a leap of faith of sorts because there was nothing around that showed how do do it in b10 That is sort of why I created my how to convert post. Not because I'm an expert (far from it) but I was able to do it pretty easy (by guessing) Here is my little write up. http://lime-technology.com/forum/index.php?topic=35531.msg330955#msg330955
December 7, 201411 yr Ok, here is my quick start guide using gfjardim's template which makes the rest of the process look pretty simple (so far). A very big thank you from my side. I was having trouble finding info on installation.
December 14, 201411 yr I can't wait for this new guide. I wish I saw this two days ago. Thank you. I am having issues with setting up Plexmediaserver and Btysync. I'll retry creating those containers when my server is free again. Hopefully I just made a minor mistake. I suspect I am putting the wrong thing in the "Container Volume." I tried just putting /config as I'm not sure what else I am supposed to put. Whatever I do, once I get a Dockerized App running and call upon it's webgui I am unable to direct it the shares where my data resides. I have no rights. I'm unRAID 6.12 FYI.
December 14, 201411 yr I can't wait for this new guide. I wish I saw this two days ago. Thank you. I am having issues with setting up Plexmediaserver and Btysync. I'll retry creating those containers when my server is free again. Hopefully I just made a minor mistake. I suspect I am putting the wrong thing in the "Container Volume." I tried just putting /config as I'm not sure what else I am supposed to put. Whatever I do, once I get a Dockerized App running and call upon it's webgui I am unable to direct it the shares where my data resides. I have no rights. I'm unRAID 6.12 FYI. I wrote it a while ago, but should have linked to it. Its not titled as a how too create a docker. I modified my post above, but here it is also. http://lime-technology.com/forum/index.php?topic=35531.msg330955#msg330955
December 14, 201411 yr I can't wait for this new guide. I wish I saw this two days ago. Thank you. I am having issues with setting up Plexmediaserver and Btysync. I'll retry creating those containers when my server is free again. Hopefully I just made a minor mistake. I suspect I am putting the wrong thing in the "Container Volume." I tried just putting /config as I'm not sure what else I am supposed to put. Whatever I do, once I get a Dockerized App running and call upon it's webgui I am unable to direct it the shares where my data resides. I have no rights. I'm unRAID 6.12 FYI. Well bummer.... I also made one and should have looked here first. hahah http://seandion.info/unraid/unraid-dockers/ I wrote it a while ago, but should have linked to it. Its not titled as a how too create a docker. I modified my post above, but here it is also. http://lime-technology.com/forum/index.php?topic=35531.msg330955#msg330955
December 14, 201411 yr I can't wait for this new guide. I wish I saw this two days ago. Thank you. I am having issues with setting up Plexmediaserver and Btysync. I'll retry creating those containers when my server is free again. Hopefully I just made a minor mistake. I suspect I am putting the wrong thing in the "Container Volume." I tried just putting /config as I'm not sure what else I am supposed to put. Whatever I do, once I get a Dockerized App running and call upon it's webgui I am unable to direct it the shares where my data resides. I have no rights. I'm unRAID 6.12 FYI. I wrote it a while ago, but should have linked to it. Its not titled as a how too create a docker. I modified my post above, but here it is also. http://lime-technology.com/forum/index.php?topic=35531.msg330955#msg330955 Dmtalon, this was EXACTLY what I needed! It was that "container volume" and "Host path" business that was causing me issues. I found clarification in another forum here (I'll point there too when I can find it again), but your Document would have ended the pain immediately. You are going to help a lot of people.. especially those of us who are not developer minded. Thanks.
December 14, 201411 yr I can't wait for this new guide. I wish I saw this two days ago. Thank you. I am having issues with setting up Plexmediaserver and Btysync. I'll retry creating those containers when my server is free again. Hopefully I just made a minor mistake. I suspect I am putting the wrong thing in the "Container Volume." I tried just putting /config as I'm not sure what else I am supposed to put. Whatever I do, once I get a Dockerized App running and call upon it's webgui I am unable to direct it the shares where my data resides. I have no rights. I'm unRAID 6.12 FYI. Well bummer.... I also made one and should have looked here first. hahah http://seandion.info/unraid/unraid-dockers/ I wrote it a while ago, but should have linked to it. Its not titled as a how too create a docker. I modified my post above, but here it is also. http://lime-technology.com/forum/index.php?topic=35531.msg330955#msg330955 Hello, Smdion If you add some clarification and an example of the "Container Volume" and "Host Path" I think your document would perfect. I cannot tell you how much I appreciate that you also provided definitions. Thank You.
December 14, 201411 yr Dmtalon, this was EXACTLY what I needed! It was that "container volume" and "Host path" business that was causing me issues. I found clarification in another forum here (I'll point there too when I can find it again), but your Document would have ended the pain immediately. You are going to help a lot of people.. especially those of us who are not developer minded. Thanks. I'm glad it helped! I was in the same boat as you for sure... Decided to just try it. had a couple little issues, but made it through fairly clean but I certainly understand the confusion and/or worry about just trying it :-)
December 14, 201411 yr I can't wait for this new guide. I wish I saw this two days ago. Thank you. I am having issues with setting up Plexmediaserver and Btysync. I'll retry creating those containers when my server is free again. Hopefully I just made a minor mistake. I suspect I am putting the wrong thing in the "Container Volume." I tried just putting /config as I'm not sure what else I am supposed to put. Whatever I do, once I get a Dockerized App running and call upon it's webgui I am unable to direct it the shares where my data resides. I have no rights. I'm unRAID 6.12 FYI. Well bummer.... I also made one and should have looked here first. hahah http://seandion.info/unraid/unraid-dockers/ I wrote it a while ago, but should have linked to it. Its not titled as a how too create a docker. I modified my post above, but here it is also. http://lime-technology.com/forum/index.php?topic=35531.msg330955#msg330955 Hello, Smdion If you add some clarification and an example of the "Container Volume" and "Host Path" I think your document would perfect. I cannot tell you how much I appreciate that you also provided definitions. Thank You. I've updated it, let me know if that helps?
December 16, 201411 yr I can't wait for this new guide. I wish I saw this two days ago. Thank you. I am having issues with setting up Plexmediaserver and Btysync. I'll retry creating those containers when my server is free again. Hopefully I just made a minor mistake. I suspect I am putting the wrong thing in the "Container Volume." I tried just putting /config as I'm not sure what else I am supposed to put. Whatever I do, once I get a Dockerized App running and call upon it's webgui I am unable to direct it the shares where my data resides. I have no rights. I'm unRAID 6.12 FYI. Well bummer.... I also made one and should have looked here first. hahah http://seandion.info/unraid/unraid-dockers/ I wrote it a while ago, but should have linked to it. Its not titled as a how too create a docker. I modified my post above, but here it is also. http://lime-technology.com/forum/index.php?topic=35531.msg330955#msg330955 Hello, Smdion If you add some clarification and an example of the "Container Volume" and "Host Path" I think your document would perfect. I cannot tell you how much I appreciate that you also provided definitions. Thank You. I've updated it, let me know if that helps? I am so loving your document. I've put you in my signature for a couple of days now. The "Host Path" definition is nice. I liked that you included an example too. The "Container Volume:" is the one that I have confusion with. In fact using that properly with the "Host Path" was what was clobbering me. So tell me if I (finally) understand this properly. OPTION A: The Container Volume is where you can essentially put an alias for the Host path for the container you are working with. So you could just put the Host Path in the Container volume and you'll have to drill down that path for whatever application (say Plex) you dockerized to get to the video folder: /mnt/user/video/ OPTION B: Define the Container Volume: Video Host Path: /mnt/user/video. In this scenario will Plex is running you'll see a "video" which takes you directly to the video folder in /mnt/user/video. Thank You
December 16, 201411 yr I can't wait for this new guide. I wish I saw this two days ago. Thank you. I am having issues with setting up Plexmediaserver and Btysync. I'll retry creating those containers when my server is free again. Hopefully I just made a minor mistake. I suspect I am putting the wrong thing in the "Container Volume." I tried just putting /config as I'm not sure what else I am supposed to put. Whatever I do, once I get a Dockerized App running and call upon it's webgui I am unable to direct it the shares where my data resides. I have no rights. I'm unRAID 6.12 FYI. Well bummer.... I also made one and should have looked here first. hahah http://seandion.info/unraid/unraid-dockers/ I wrote it a while ago, but should have linked to it. Its not titled as a how too create a docker. I modified my post above, but here it is also. http://lime-technology.com/forum/index.php?topic=35531.msg330955#msg330955 Hello, Smdion If you add some clarification and an example of the "Container Volume" and "Host Path" I think your document would perfect. I cannot tell you how much I appreciate that you also provided definitions. Thank You. I've updated it, let me know if that helps? I am so loving your document. I've put you in my signature for a couple of days now. The "Host Path" definition is nice. I liked that you included an example too. The "Container Volume:" is the one that I have confusion with. In fact using that properly with the "Host Path" was what was clobbering me. So tell me if I (finally) understand this properly. OPTION A: The Container Volume is where you can essentially put an alias for the Host path for the container you are working with. So you could just put the Host Path in the Container volume and you'll have to drill down that path for whatever application (say Plex) you dockerized to get to the video folder: /mnt/user/video/ OPTION B: Define the Container Volume: Video Host Path: /mnt/user/video. In this scenario will Plex is running you'll see a "video" which takes you directly to the video folder in /mnt/user/video. Thank You Option B is pretty much spot on. Container Volume: /video Host Path : /mnt/user/video With plex running in the container, when plex accesses /video it is actually accessing /mnt/user/video on the host. Ninja edit: also re-updated that page on my site. Let me know if that helps and if I can change anything for clarity for other users.
December 16, 201411 yr I can't wait for this new guide. I wish I saw this two days ago. Thank you. I am having issues with setting up Plexmediaserver and Btysync. I'll retry creating those containers when my server is free again. Hopefully I just made a minor mistake. I suspect I am putting the wrong thing in the "Container Volume." I tried just putting /config as I'm not sure what else I am supposed to put. Whatever I do, once I get a Dockerized App running and call upon it's webgui I am unable to direct it the shares where my data resides. I have no rights. I'm unRAID 6.12 FYI. Well bummer.... I also made one and should have looked here first. hahah http://seandion.info/unraid/unraid-dockers/ I wrote it a while ago, but should have linked to it. Its not titled as a how too create a docker. I modified my post above, but here it is also. http://lime-technology.com/forum/index.php?topic=35531.msg330955#msg330955 Hello, Smdion If you add some clarification and an example of the "Container Volume" and "Host Path" I think your document would perfect. I cannot tell you how much I appreciate that you also provided definitions. Thank You. I've updated it, let me know if that helps? I am so loving your document. I've put you in my signature for a couple of days now. The "Host Path" definition is nice. I liked that you included an example too. The "Container Volume:" is the one that I have confusion with. In fact using that properly with the "Host Path" was what was clobbering me. So tell me if I (finally) understand this properly. OPTION A: The Container Volume is where you can essentially put an alias for the Host path for the container you are working with. So you could just put the Host Path in the Container volume and you'll have to drill down that path for whatever application (say Plex) you dockerized to get to the video folder: /mnt/user/video/ OPTION B: Define the Container Volume: Video Host Path: /mnt/user/video. In this scenario will Plex is running you'll see a "video" which takes you directly to the video folder in /mnt/user/video. Thank You Option B is pretty much spot on. Container Volume: /video Host Path : /mnt/user/video With plex running in the container, when plex accesses /video it is actually accessing /mnt/user/video on the host. Ninja edit: also re-updated that page on my site. Let me know if that helps and if I can change anything for clarity for other users. Yes. I am accessing my host system (unRAID server) from the app. I was getting tripped up (like other people have from what I saw on various forum entries) on what to put into the "Container Volume" not understanding it was just a way to setup or an alias (or shortcut). If you think you can translate my gibberish to English (can you do magic?) then you will be able to address a "gotcha" some people saw going in. FYI. I used Option A) as I understood I could not leave the option blank (otherwise did not let me navigate my server within) the app. I also didn't mind having the navigate the full path as it re-enforces me understanding where things are. Again, if I had you and Dmtalon's link from the beginning I d probably would have been productive ages ago. I can never say thanks enough. Note: Someone else gave me an example of the Container and Host first in a post, but I can't find who that was to thank them.
December 16, 201411 yr Yes. I am accessing my host system (unRAID server) from the app. I was getting tripped up (like other people have from what I saw on various forum entries) on what to put into the "Container Volume" not understanding it was just a way to setup or an alias (or shortcut). If you think you can translate my gibberish to English (can you do magic?) then you will be able to address a "gotcha" some people saw going in. FYI. I used Option A) as I understood I could not leave the option blank (otherwise did not let me navigate my server within) the app. I also didn't mind having the navigate the full path as it re-enforces me understanding where things are. Again, if I had you and Dmtalon's link from the beginning I d probably would have been productive ages ago. I can never say thanks enough. Note: Someone else gave me an example of the Container and Host first in a post, but I can't find who that was to thank them. I'm glad these helped for sure! They are likely both there because we both struggled too :-) I look at those simply as network maps. I mounted mine to how it was originaly so I could keep the configuration the same so I only just added /mnt to /mnt/ That way if the container method (aka docker) didn't work out for me, I could swap back using the same configuration file. I tried a few iterations. Initially I couldn't get any media listed because I didn't have those filled out. I don't remember how/where I figured it out but I'm sure someone here pointed me straight!
December 16, 201411 yr I seem to be having a bit of an issue. I'm currently running 6.0-beta12 I followed all the steps listed by TheCowStir Click on the Docker tab. Where do you want to store the Docker image? If you have an SSD, put it there. This image will probably keep your drive from spinning down. Put that location in the Docker image text box with a file name. (The grey text is just a place holder so you can type there) I use /mnt/cache/docker.img (this docker.img file is like an iso file, and is actually mounted on your unRAID server.) Default image size, keep it at 10GB, read in the forums for reasons to increase it. Template repositories, this is what makes docker easy for us unRAID users, you can find a few template repositories throughout the forum, but a pretty good place to start is gfjardim's https://github.com/gfjardim/docker-containers/tree/templates Click Save. Then click start Click the Add button (The big green circle with a plus in it) Drop down the Template selection and select Crashplan Since everyone should be backing up data, I'll start with Crashplan. Read through the description Container volume is where you can access the Host Path inside the application Leave the /config line alone unless you really need to change it. (This is where Crashplan configuration files are stored) on /data Container volume set the Host path to /mnt/user Click Apply The image is installed on /mnt/disk1 However when i hit the "BIG GREEN +" to add a template. The there is no information in the drop down.
December 17, 201411 yr I seem to be having a bit of an issue. I'm currently running 6.0-beta12 I followed all the steps listed by TheCowStir Click on the Docker tab. Where do you want to store the Docker image? If you have an SSD, put it there. This image will probably keep your drive from spinning down. Put that location in the Docker image text box with a file name. (The grey text is just a place holder so you can type there) I use /mnt/cache/docker.img (this docker.img file is like an iso file, and is actually mounted on your unRAID server.) Default image size, keep it at 10GB, read in the forums for reasons to increase it. Template repositories, this is what makes docker easy for us unRAID users, you can find a few template repositories throughout the forum, but a pretty good place to start is gfjardim's https://github.com/gfjardim/docker-containers/tree/templates Click Save. Then click start Click the Add button (The big green circle with a plus in it) Drop down the Template selection and select Crashplan Since everyone should be backing up data, I'll start with Crashplan. Read through the description Container volume is where you can access the Host Path inside the application Leave the /config line alone unless you really need to change it. (This is where Crashplan configuration files are stored) on /data Container volume set the Host path to /mnt/user Click Apply The image is installed on /mnt/disk1 However when i hit the "BIG GREEN +" to add a template. The there is no information in the drop down. Did you add one of the templates repos? https://github.com/gfjardim/docker-containers/tree/templates https://github.com/smdion/docker-containers/tree/templates
Archived
This topic is now archived and is closed to further replies.