July 28, 20169 yr unRAID OS Version: 6.2 RC3, 6.1.9 Description: The docker page in the unRAID GUI loads very slow, when I do a ps I can see that it is trying to download the ICON for a container I recently added. I believe the issue is happening because my container repository has an extra colon. How to reproduce: Create a docker container with repository openhab/openhab:amd64-online, and try and load the docker GUI page. You should then see two curls with PS that end up timing out and then the page loads. I believe it is because it's trying to create the icon with a colon in the name. root 31002 30977 0 15:12 ? 00:00:00 sh -c curl --max-time 60 --silent --insecure --location --fail -o '/boot/config/plugins/dockerMan/images/--icon.png' 'http://srv0.local/state/plugins/dynamix.docker.manager/images/larizzo-openhab-perl-latest-icon.png''>http://srv0.local/state/plugins/dynamix.docker.manager/images/larizzo-openhab-perl-latest-icon.png' 2>/dev/null root 31003 31002 0 15:12 ? 00:00:00 curl --max-time 60 --silent --insecure --location --fail -o /boot/config/plugins/dockerMan/images/--icon.png http://srv0.local/state/plugins/dynamix.docker.manager/images/larizzo-openhab-perl-latest-icon.png Expected results: Docker gui page loads fast. Actual results: Docker gui pages loads slowly (60 seconds) same as the curl timeout. Docker container has no icon in the gui when it does finally load. Other information:
July 29, 20169 yr TBH, I've never quite understood why dockerMan even bothers to download and cache the icons. Why not just pass the appropriate URL to the browser and let it handle it (like its designed to). Also avoids problems on slow connections / huge images where curl times out (but your browser will succeed albeit slowly)
September 9, 20169 yr Is this still a problem? Is this an issue with unRAID, or something that's been fixed in Community Apps?
September 9, 20169 yr Is this still a problem? Is this an issue with unRAID, or something that's been fixed in Community Apps? CA and dockerMan display the images differently. CA passes through the URL for the icon (from the template) to the browser to handle. dockerMan insists that its better to download and save the image within the docker.img file. Makes no sense to me. Beyond that, I *think* its been fixed somewhere along the line in 6.2 (at least my one app I'm running using tags shows the icon correctly in dockerMan)
September 10, 20169 yr I'm trusting Squid's *thinker* and marking it solved. If anyone discovers otherwise, please let us know. Always nice to hear confirmation from the original poster though!
Archived
This topic is now archived and is closed to further replies.