March 22, 201511 yr This plugin is now deprecated. Its functions have been integrated into Community Applications. Due to changes on docker's website, this plugin is no longer functional. This plugin allows you to search the Docker Registry for any supported container, supplies you with links to the associated pages, and then also will optionally convert the dockerfile to a compatible unRAID XML template to easily add it to your server. https://raw.githubusercontent.com/Squidly271/DockerSearch/master/DockerSearch.plg Just enter in your search string, hit search and a window pops up with the search results. Once you find a container which you want to use, highlight the link and then copy and paste it to the convert field and hit "Convert". You will then be able to add it by using "add container" on the docker page and selecting it from the drop down list under Docker2XML. Note: You can also convert a docker file by copying and pasting the URL from the dockerfile's Information page A few notes about the conversion / search process. Results are automatically sorted by docker's "star" rating The conversion process extracts the relevant information from the dockerfile. However, a minority of dockerfiles do not explicitly have the EXPOSED ports and VOLUMES listed in them. Details on that would be on the dockerfile's information page There are numerous ways for a dockerfile to expose the ports used. I've tried to handle all that I ran across. However, if you find a dockerfile which does not convert properly, let me know and I will add it's method to the script If there are multiple ports exposed, then the script has no way of knowing which port is being used for the GUI, and that field will not be filled in on the template (you can manually add it however through dockerMan). If there is only one port exposed, then that will be used for the GUI section in the template A few assumptions are made in the template where information cannot be extracted:Priviledged is set to false Network type is Bridge These items can be changed manually through dockerMan as required [*]There is no way to determine any additional environment variables (ie: EDGE) which may be passed to the container. The use of these variables is rare. Details on the variables would be on the container's information page Notes on Official Builds: The dockerfiles for official builds are NOT scraped for exposed ports / volumes / environment variables. If you are using an official build, you will most likely know exactly how you want it set up, and the documentation on the builds is very good. This is because I would have to scrape a particular TAG, but you have the ability to change the TAG after the conversion process and items may not work correctly after that. If you wish to use a tag other than LATEST, you will need to add the tag after the container name in the repository section when you add the container. eg: mysql:5.5 Notes on copying the URL's You can be on any tab (Information, Dockerfile, Build, Tags) when you copy the URL. The plugin will figure out for itself the correct URL. Change Log ###2015.04.23### - Fixed an issue where under certain circumstances dockerMan would display two templates-user folders ###2015.04.08### - Added in Utilities.page (fix issue where icon wouldn't display if only plugin installed) ###2015.03.27### - Fixed issue with Official Build icons not displaying - Switched the Official name from extra parameters to Repository ###2015.03.26-1### - Initial Release with support for Official containers - Removed the condensed search results page (redundant and useless) - Known Issue: Icon for Official containers will not display (Generic "?" displayed instead) ###2015.03.26### - Updated Icon (May have to clear browsing data to display the new one) - Fixed the uninstall routine. ###2015.03.25### - Storage path for converted XML changed to templates-user/Docker2XML (Original location of templates was being erased anytime dockerMan checked for updates ###2015.03.24### -Added Full Docker Web Search -URL for conversion is now more forgiving. URL can be any sub-page from the container's page ###2015.03.23### - Added an exception where ports would not properly add if formatted a certain way. (Thank-you sparkly for making me work) ###2015.03.22-3### - Formatting now (hopefully) finalized on search - Fixed Docker Search's moronic idea of insisting search patterns are always lowercase - Added Docker's Star Rating system to search output ###2015.03.22-2### ###2015.03.22-1### - Better formatting. Significantly improved error handling - Ability to pre-convert multiple versions of containers (file output is now repo-container) ###2015.03.22### - Added more formatting and descriptions (where they exist) to the output ###2015.03.21### - Miscellaneous bug fixes ###2015.03.21### - Initial Version
March 22, 201511 yr Author nice plg - thanks for your work Thanks. I have alot of ideas for this on the chalk board. 1 step at a time towards an app store. Have to become more proficient at PHP to accomplish most of them.
March 22, 201511 yr Author Great addition. Not quite how I originally envisioned it would look, but I just kept on running into brick walls trying to get it the way that I wanted. I'll take another stab at it in a couple of days and then get your input if need be.
March 22, 201511 yr amazing plugin....exactly the concept that's needed to be integrated into the official docker webgui to open this up to all docker files.
March 23, 201511 yr Author Version 1.0 (2015-03-22-3) Should be pretty much finalized. There's not too much more information available to be presented thats currently available. Search screen now conveys the same information but is far more readable, and also now displays Docker's "star" rating system. Now to start gathering my thoughts for the next stage of this (incorporating existing unRaid templates into the system without a need for repositories). As always, if you find a dockerfile which doesn't convert properly (missing information or messed up information in the generated template), let me know and I'll add an exception for it.
March 26, 201511 yr Author Very nice, very nice! Thanks. Still some more work to do on it. Most specifically the plugin currently does not support the "official" builds of mySQL etc
March 26, 201511 yr Updated this just now and is this expected behaviour ? put in a search and get results, copy a link from the search window, click done in search pane. can't enter anything into the main page for the plugin, have to reload the plugin page before being able to enter anything. firefox 36.0.4 , yosemite 10.10.2
March 26, 201511 yr Author Nope. You should be able to just paste directly. I can't see off hand how last nights update would have broken it, but i will try to replicate after work.
March 26, 201511 yr Author I just teamviewered into my windows box running chrome and the convert box is working as it should be. I will try and investigate further. Were you pasting a result from the condensed search or the full search?
March 26, 201511 yr Author Updated this just now and is this expected behaviour ? put in a search and get results, copy a link from the search window, click done in search pane. can't enter anything into the main page for the plugin, have to reload the plugin page before being able to enter anything. firefox 36.0.4 , yosemite 10.10.2 I don't have access to a Mac, so I can't test with your configuration. However, I have tested it with: Windows 7: Chrome 41.0.2272.101 m Internet Explorer 11 (in both normal and compatibility mode) Firefox (uninstalled right after test, so don't have the version #) Safari 5.1.7 My Galaxy S3's browser My Nexus 7's browser Firefox included in the experimental Ubuntu RDP docker container. All of them do not exhibit the behaviour you are describing, so not quite sure what to tell you. Also, just pushed out a new update with a fixed uninstall routine (it never actually uninstalled before)
March 27, 201511 yr Author A couple of changes to how this plugin works: (v 2015.03.26-1) The condensed search page no longer exists. Instead, the search button will take you directly to the results from Docker's website. Condensed search only searched for repositories and container names and was extremely limited in its results. Initial Beta support for Official Containers (mySQL, Nginx, Wordpress, etc) is now included. Because of the difficulty in scraping the ports / volumes and keeping everything in sync with the tags, no information is scraped from the dockerfile. (If you're using an official build, you probably know exactly what you're doing anyways). You can select which tag you want to use by adding :tag (eg: mysql:5.5) after the container name in the repository section. On official builds, the repository name must remain empty. If you fill out anything here, errors probably will result when running the container. 2015.03.27 - The container name is now stored in the repository A known issue right now only with official builds is that the icon displayed by dockerMan for them is not being picked up (it will display a "?" instead) I'm not sure right now if this is something I'm doing wrong or a bug in dockerMan - Fixed in 2015.03.27 Also, if anyone familiar with actually running official builds could try this out and let me know if everything seems to be working correctly.
April 3, 201511 yr This looks badass, and I look forward to trying it out next time I want a docker slightly off from what the docker authors around here have built on our behalves. Thanks for taking the time to get it up and working!
September 9, 201510 yr Author I hope this is updated soon It is now integrated into Community Applications http://lime-technology.com/forum/index.php?topic=40262.0 , with a full GUI to search. Just enable docker search within CA's settings.
Archived
This topic is now archived and is closed to further replies.