GuildDarts Posted March 12, 2020 Posted March 12, 2020 MODERATOR NOTE: The author is currently MIA. The original plugin is only compatible up to 6.9.2. A fork (Available within Apps) is compatible with 6.10.0+ However, this fork is only designed to keep the code base as the original was left off compatible with 6.10.0+ Docker Folder lets you create folders for docker containers to help with your organization, especially useful if you're using docker-compose. How to install: Can be found in Community Applications or Open Plugins / Install Plugin and use this URL: https://raw.githubusercontent.com/GuildDarts/unraid-plugin-docker.folder/master/plugins/docker.folder.plg After installation, a new button named "add folder" should appear at the bottom of the docker tab next to "add container". Screenshots Icons In case your looking for some fancy icons for your fancy new folders, check out @hernandito thread below If you find any problems, please report them here. 2 5 Quote
Squid Posted March 12, 2020 Posted March 12, 2020 This is now available within CA. However, due to a bug with the plugin currently, it will not allow you to create any folders if you have your server set up in "Tabbed Mode" (Settings - Display Settings). Once you have set up the folders however (in Non-Tabbed Mode), you can switch back to tabbed mode and the plugin will still operate (just not allow you to create any more folders) Beyond that, this looks like an excellent addition (once the initial issues are ironed out), and should fulfill a need that quite a few people have been asking about. Quote
JonathanM Posted March 12, 2020 Posted March 12, 2020 How do you edit an existing folder after you created it? Quote
Squid Posted March 12, 2020 Posted March 12, 2020 10 minutes ago, jonathanm said: How do you edit an existing folder after you created it? By hitting the edit button on the context menu? Quote
Squid Posted March 12, 2020 Posted March 12, 2020 I do see a few issues though. There's no enforcement of having to name the folder. And if it's not given a name, then some strange things can happen with other groupings / it's own group. I'd prefer that "Edit" and "Remove" on the context menu were named something else, as "Remove" in particular tends to mean remove the container, not remove the folder. The Start / Stop on the context don't seem to consistently appear under all circumstances. Quote
JonathanM Posted March 12, 2020 Posted March 12, 2020 26 minutes ago, Squid said: By hitting the edit button on the context menu? Quote
Roxedus Posted March 13, 2020 Posted March 13, 2020 @Squid publish a predefined folder to CA when? I definitely want to play with this plugin when i can Quote
Squid Posted March 13, 2020 Posted March 13, 2020 2 hours ago, jonathanm said: Is that a group? Should be something like 5 of 5 and a Chevron underneath it. If it's totally messed, delete the folders.json file on the flash Quote
Roxedus Posted March 13, 2020 Posted March 13, 2020 (edited) By not adding (more like forgetting) to add a icon, the folder actually never shows, and are nowhere to be found in the gui. Deleting the folder in the json squid mentioned does not resolve the issue, only deleting the whole file helped. Edit: seems like it was not the missing icon, rather the space in the name Edited March 13, 2020 by Roxedus Quote
GuildDarts Posted March 13, 2020 Author Posted March 13, 2020 Just updated, thanks for all the feedback Folder name is now required and does not allow spaces The edit/remove now include folder at the end 16 hours ago, Squid said: The Start / Stop on the context don't seem to consistently appear under all circumstances. One thing that springs to mind might be that "Docker_Default" has a space at the end "Docker_Default " 14 hours ago, Squid said: 16 hours ago, jonathanm said: Is that a group? Should be something like 5 of 5 and a Chevron underneath it. If it's totally messed, delete the folders.json file on the flash Did this fix it for you? Quote
JonathanM Posted March 13, 2020 Posted March 13, 2020 2 minutes ago, GuildDarts said: Did this fix it for you? I haven't experimented further yet, I was anticipating a flurry of update / bugfix / activity and figured I'd wait for the next version to have a play. Quote
GuildDarts Posted March 13, 2020 Author Posted March 13, 2020 Understandable, let me know if you have the issue next time Quote
Squid Posted March 13, 2020 Posted March 13, 2020 Harmless, but really gets on my OCD though. If I remove a folder, then I wind up with what is basically a non-existent orphaned image Quote
GuildDarts Posted March 14, 2020 Author Posted March 14, 2020 Update tianon/true should no longer show up you can now also upload an icon instead of using a link While testing had the same issue jonathanm experienced, dont know if i fixed what caused it for them but think i fixed what caused it for me. Quote
twistedsanity Posted March 17, 2020 Posted March 17, 2020 Just wanted to say thanks, this has really tidied up my list of containers 1 Quote
poniz Posted March 22, 2020 Posted March 22, 2020 I've always wondered when we would have this option to group the dockers for better organization. thank you for all your hard work. I do have a feature request not sure if it is possible but anyway to have a setting to set certain folders to always be expanded Quote
GuildDarts Posted March 22, 2020 Author Posted March 22, 2020 @poniz Just so i dont misunderstand You mean on the docker tab, start expanded? Quote
GuildDarts Posted March 24, 2020 Author Posted March 24, 2020 Update change the way buttons work, you can now have as many or as few buttons as you want. example A folder can now also start expanted (hope this is kinda what you wanted @poniz ) 1 Quote
poniz Posted March 24, 2020 Posted March 24, 2020 On 3/22/2020 at 5:26 AM, GuildDarts said: @poniz Just so i dont misunderstand You mean on the docker tab, start expanded? Yes exactly, some folders I would just like expanded at first glance. Sorry for the late reply. I just updated the plugin i'll let you know how it goes. Thank you!! Quote
poniz Posted March 24, 2020 Posted March 24, 2020 after updating the plugin the docker page would just load and load, i removed plugin, stopped/started docker and now my dockers are almost greyed out in the folder option. They are all running not sure what happened withe docker page after update here is some of the log after the plugin updated to when i stopped docker. Mar 24 12:57:59 XENON-NAS webGUI: Successful login user root from 192.168.1.60 Mar 24 12:58:46 XENON-NAS emhttpd: cmd: /usr/local/emhttp/plugins/dynamix.plugin.manager/scripts/plugin update docker.folder.plg Mar 24 12:58:46 XENON-NAS root: plugin: running: anonymous Mar 24 12:58:46 XENON-NAS root: plugin: creating: /boot/config/plugins/docker.folder/docker.folder-2020.03.24-x86_64-1.txz - downloading from URL https://raw.github.com/GuildDarts/unraid-plugin-docker.folder/master/archive/docker.folder-2020.03.24-x86_64-1.txz Mar 24 12:58:47 XENON-NAS root: plugin: checking: /boot/config/plugins/docker.folder/docker.folder-2020.03.24-x86_64-1.txz - MD5 Mar 24 12:58:47 XENON-NAS root: plugin: running: /boot/config/plugins/docker.folder/docker.folder-2020.03.24-x86_64-1.txz Mar 24 12:58:48 XENON-NAS root: plugin: running: anonymous Mar 24 13:00:25 XENON-NAS autofan: Highest disk temp is 33C, adjusting fan speed from: OFF (0% @ 0rpm) to: 102 (40% @ 576rpm) Mar 24 13:06:32 XENON-NAS nginx: 2020/03/24 13:06:32 [error] 30935#30935: *1079892 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192.168.1.60, server: , request: "POST /plugins/dynamix.docker.manager/include/Events.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock", host: "192.168.1.10:7800", referrer: "http://192.168.1.10:7800/Docker" Mar 24 13:07:59 XENON-NAS webGUI: Successful login user root from 192.168.1.60 Mar 24 13:08:13 XENON-NAS webGUI: Successful login user root from 192.168.1.60 Mar 24 13:10:30 XENON-NAS autofan: Highest disk temp is 35C, adjusting fan speed from: 102 (40% @ 617rpm) to: 136 (53% @ 789rpm) Mar 24 13:10:47 XENON-NAS webGUI: Successful login user root from 192.168.1.60 Mar 24 13:12:40 XENON-NAS nginx: 2020/03/24 13:12:40 [error] 30935#30935: *1081034 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192.168.1.60, server: , request: "POST /plugins/community.applications/scripts/notices.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock", host: "192.168.1.10:7800", referrer: "http://192.168.1.10:7800/Docker" Mar 24 13:12:40 XENON-NAS nginx: 2020/03/24 13:12:40 [error] 30935#30935: *1081138 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192.168.1.60, server: , request: "GET /plugins/dynamix.docker.manager/include/DockerContainers.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock", host: "192.168.1.10:7800", referrer: "http://192.168.1.10:7800/Docker" Mar 24 13:12:44 XENON-NAS emhttpd: cmd: /usr/local/emhttp/plugins/dynamix.plugin.manager/scripts/plugin remove docker.folder.plg Mar 24 13:12:44 XENON-NAS root: plugin: running: anonymous Mar 24 13:12:59 XENON-NAS nginx: 2020/03/24 13:12:59 [error] 30935#30935: *1081163 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192.168.1.60, server: , request: "POST /plugins/community.applications/scripts/notices.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock", host: "192.168.1.10:7800", referrer: "http://192.168.1.10:7800/Plugins" Mar 24 13:13:21 XENON-NAS emhttpd: cmd: /usr/local/emhttp/plugins/dynamix/scripts/tail_log syslog Mar 24 13:14:00 XENON-NAS ool www[7460]: /usr/local/emhttp/plugins/dynamix/scripts/emcmd 'cmdStatus=Apply' Mar 24 13:14:00 XENON-NAS emhttpd: Starting services... Mar 24 13:14:00 XENON-NAS emhttpd: shcmd (12812): /etc/rc.d/rc.samba restart Mar 24 13:14:00 XENON-NAS wsdd[14586]: udp_send: Failed to send udp packet with No such device Mar 24 13:14:00 XENON-NAS wsdd[14586]: udp_send: Failed to send udp packet with No such device Mar 24 13:14:00 XENON-NAS wsdd[14586]: udp_send: Failed to send udp packet with No such device Mar 24 13:14:00 XENON-NAS wsdd[14586]: udp_send: Failed to send udp packet with No such device Mar 24 13:14:00 XENON-NAS wsdd[14586]: udp_send: Failed to send udp packet with No such device Mar 24 13:14:00 XENON-NAS wsdd[14586]: udp_send: Failed to send udp packet with No such device Mar 24 13:14:00 XENON-NAS wsdd[14586]: udp_send: Failed to send udp packet with No such device Mar 24 13:14:00 XENON-NAS wsdd[14586]: udp_send: Failed to send udp packet with No such device Mar 24 13:14:00 XENON-NAS wsdd[14586]: udp_send: Failed to send udp packet with No such device Mar 24 13:14:00 XENON-NAS wsdd[14586]: udp_send: Failed to send udp packet with No such device Mar 24 13:14:00 XENON-NAS wsdd[14586]: udp_send: Failed to send udp packet with No such device Mar 24 13:14:00 XENON-NAS wsdd[14586]: udp_send: Failed to send udp packet with No such device Mar 24 13:14:00 XENON-NAS wsdd[14586]: udp_send: Failed to send udp packet with No such device Mar 24 13:14:00 XENON-NAS wsdd[14586]: udp_send: Failed to send udp packet with No such device Mar 24 13:14:00 XENON-NAS wsdd[14586]: udp_send: Failed to send udp packet with No such device Mar 24 13:14:00 XENON-NAS wsdd[14586]: udp_send: Failed to send udp packet with No such device Mar 24 13:14:00 XENON-NAS wsdd[14586]: udp_send: Failed to send udp packet with No such device Mar 24 13:14:00 XENON-NAS wsdd[14586]: udp_send: Failed to send udp packet with No such device Mar 24 13:14:00 XENON-NAS wsdd[14586]: Failed to send bye with No such device Mar 24 13:14:02 XENON-NAS root: Starting Samba: /usr/sbin/smbd -D Mar 24 13:14:02 XENON-NAS root: /usr/sbin/nmbd -D Mar 24 13:14:02 XENON-NAS root: /usr/sbin/wsdd Mar 24 13:14:02 XENON-NAS root: /usr/sbin/winbindd -D Mar 24 13:14:03 XENON-NAS root: Stopping docker_load Mar 24 13:14:03 XENON-NAS emhttpd: shcmd (12820): /etc/rc.d/rc.docker stop Quote
GuildDarts Posted March 24, 2020 Author Posted March 24, 2020 Did you reinstall and is the docker tab loading for you now? if not can you check your browser console for errors to me this just looks like a theme, i might be wrong tho. 13 minutes ago, poniz said: Quote
poniz Posted March 24, 2020 Posted March 24, 2020 (edited) yes i do have the theme plugin installed just made some colour adjustments but i cant select any of the dockers. I tried even restore the folders.json file to a back i did the other day and the plugin. still no lock no dockers show up but they are all running. any ideas? i have tried using firefox and chrome both with private mode with no luck Edited March 24, 2020 by poniz Quote
GuildDarts Posted March 24, 2020 Author Posted March 24, 2020 (edited) i think i know whats going on. replace YOURFOLDERNAME with your folder name and run docker create --name='YOURFOLDERNAME-folder' --net='none' 'tianon/true:latest' then go to your docker tab and you should see something like copy the "Container ID" and replace the id in folders.json with it try it with one first to see if it works (I hope it does) Edited March 24, 2020 by GuildDarts folder not folders Quote
poniz Posted March 24, 2020 Posted March 24, 2020 (edited) OK no prob, i'll try this now. -- so far so good tried it with one folder and it worked like a charm, i'm going to do the rest now. thank you for the quick response, now i was thinking should i update the plugin before restore the IDs ? last i updated the page wouldn't load im on version 6.8.3 @GuildDartsthank you for the quick response and solution! -- successfully restore all folders and everything is back to normal... now to update or not to update 🤔 Edited March 24, 2020 by poniz update on status Quote
poniz Posted March 24, 2020 Posted March 24, 2020 side note, after restoring one empty folder that i made as a test. I removed it from GUI but when i checked the file it is still there, shouldn't that be removed as well ? Quote
Recommended Posts
Posted by scolcipitato,
Docker Folder is going away, this is the replacement
Recommended by JonathanM
4 reactions
Go to this post
Posted by Squid,
9 reactions
Go to this post
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.