June 24, 201412 yr hi, i tried this plg but i got issue with it see outcome Last login: Tue Jun 24 12:12:41 2014 from peter-z87.lan Linux 3.15.0-unRAID. root@P8H67:~# docker ps 2014/06/24 12:17:26 Get http:///var/run/docker.sock/v1.12/containers/json: dial unix /var/run/docker.sock: no such file or directory root@P8H67:~# docker start couchpotato Post http:///var/run/docker.sock/v1.12/containers/couchpotato/start: dial unix /var/run/docker.sock: no such file or directory 2014/06/24 12:18:35 Error: failed to start one or more containers root@P8H67:~# /etc/rc.d/rc.docker restart stopping docker ... docker already running root@P8H67:~# docker ps 2014/06/24 12:20:15 Get http:///var/run/docker.sock/v1.12/containers/json: dial unix /var/run/docker.sock: no such file or directory root@P8H67:~# /etc/rc.d/rc.docker stop stopping docker ... root@P8H67:~# /etc/rc.d/rc.docker start docker already running root@P8H67:~# Broadcast message from root@P8H67 (Tue Jun 24 12:21:42 2014): so i removed theplg again and things work again root@P8H67:~# docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES root@P8H67:~# i took the plg from the github page
June 24, 201412 yr Ok, I think i found it. I will rewrite the running detection routine to be more fail safe. For now I just fix it. Please try again.
June 26, 201412 yr Author ALL OK now, in the sense that it automatically started all my containers not sure but i read somewhere that there was an extra field on the extensions / docker' s page ? a field to put the containers you want to start automatically? that is not there... even pushed F5 a few times to be sure it is not there what i did is yesterday evening, just before powering down the server for the night, i put the plg in /boot/config/plugins and this morning let him wake with cron as usual... and to my surprise (good surprise ) all my dockers were running so if you just would care to inform us if there is a field or not then i am happy... i can see the advantage of that field though .... but on the other side a container is quickly made... although you would loose you settings if you delete your container .... so i guess choose which containers you want to start is better... (one man discussion with himself... where is that looney smiley? ) anyway autostart works
June 26, 201412 yr Have just installed the plugin myself - great work gfjardim. Please make sure the bods at Limetech are aware of your work so that they can incorporate it (or at least not break it) in future releases. sacretagent - the field only shows when the docker service is stopped. Would be good if it displayed something when the service is running though.
June 27, 201412 yr ah ... never stopped the thing LOL let me try that And YEP you are right Just updated the plg. https://raw.githubusercontent.com/gfjardim/dockers/master/Docker-startup.plg
June 27, 201412 yr Limetech needs to use your PLG file and make it part of the next beta! Thanks for making this!
June 27, 201412 yr Limetech needs to use your PLG file and make it part of the next beta! Thanks for making this! Add some more features: Start/Stop the container, plus show container logging.
June 29, 201412 yr Author VERY good only column missing is the delete container and delete image buttons ... with confirmations of course (aka your sure? click yes )
June 29, 201412 yr VERY good only column missing is the delete container and delete image buttons ... with confirmations of course (aka your sure? click yes ) Done!
June 30, 201412 yr Beautiful. Looks awesome! One question: do these docks update automatically, or do I need to try and initiate? If so, will it necessitate a full download, or just the bits needed for update?
July 1, 201412 yr Author hi docks only update if they are set so too.... in needo's docks you can choose to add the updater or not it all depends on how you make your docker... I am using needo's new dockers with the update function and every time i start my couchpotato docker, he gets updated automatically it takes about 10 minutes longer to start the docker due to that process but i don't mind
July 1, 201412 yr gfjardim, do we still need the docker-startup.plg if we are using your dockerMan.plg? - I'm assuming that docker-startup.plg is only starting the docker service on array start and the manager is separate. Currently have both on my system, just wanted to double check with you before i did anything else
Archived
This topic is now archived and is closed to further replies.