Owel Posted April 8, 2015 Share Posted April 8, 2015 unRAID OS Version: 6.14.b Description: All my containers after a reboot. I have to download and install them again. No data is lost , because that is stored an the array. But this behavior is annoying... (I have mariaDB and OwnCloud docker) How to reproduce: simple reboot (e.g shutdown -r now) Expected results: Containers are working as usual after reboot Actual results: Container seems to be deleted, can be restored via 'User defined templates" - 'my- ...' Regards Owel Link to comment
trurl Posted April 8, 2015 Share Posted April 8, 2015 Where did you put your docker img file? Link to comment
jonp Posted April 8, 2015 Share Posted April 8, 2015 Where did you put your docker img file? Exactly the same question I was going to ask! Link to comment
Owel Posted April 10, 2015 Author Share Posted April 10, 2015 /mnt/cache/docker/docker.img Link to comment
BRiT Posted April 10, 2015 Share Posted April 10, 2015 Do you have that share set as "cache only"? I highly suspect you do not. I have mine set as /mnt/cache/appdata/docker/docker.img and it survives reboots with all docker containers continueing to exist. Link to comment
trurl Posted April 10, 2015 Share Posted April 10, 2015 To clarify, /mnt/cache/docker is a user share named docker. Unless that user share is set to Use cache: Only, mover will move it to the array. Mover also does not move any files at the root of cache. I have mine as /mnt/cache/docker.img Link to comment
njm5785 Posted June 24, 2015 Share Posted June 24, 2015 To clarify, /mnt/cache/docker is a user share named docker. Unless that user share is set to Use cache: Only, mover will move it to the array. Mover also does not move any files at the root of cache. I have mine as /mnt/cache/docker.img I updated unraid to version 6.0.0 from version 6.0-beta15 then it told me to reboot my system. So I spun down the array, shut if off and rebooted. My docker containers are now missing and my docker tab is gone from my menu. I have docker at the same path you mention /mnt/cache/docker.img so it should not be getting messed up by the mover. What else might be causing this? Link to comment
BRiT Posted June 24, 2015 Share Posted June 24, 2015 To clarify, /mnt/cache/docker is a user share named docker. Unless that user share is set to Use cache: Only, mover will move it to the array. Mover also does not move any files at the root of cache. I have mine as /mnt/cache/docker.img I updated unraid to version 6.0.0 from version 6.0-beta15 then it told me to reboot my system. So I spun down the array, shut if off and rebooted. My docker containers are now missing and my docker tab is gone from my menu. I have docker at the same path you mention /mnt/cache/docker.img so it should not be getting messed up by the mover. What else might be causing this? You might have an old dockerman plugin still installed, if so you need to uninstall it and use the one thats built i to unraid. Link to comment
njm5785 Posted June 24, 2015 Share Posted June 24, 2015 To uninstall it do I just disable docker and re-enable it, or is there some other process to uninstall it? Also, does that mean I will have to setup all my containers again? Link to comment
BRiT Posted June 24, 2015 Share Posted June 24, 2015 What shows up on the "Plugins" page? http://tower/Plugins Link to comment
njm5785 Posted June 25, 2015 Share Posted June 25, 2015 I only have three items in the installed plugins page. They are all up to date. sickbeard.64bit Dynamix webGui unRAID Server OS Why is this info needed? Link to comment
BRiT Posted June 25, 2015 Share Posted June 25, 2015 I only have three items in the installed plugins page. They are all up to date. sickbeard.64bit Dynamix webGui unRAID Server OS Why is this info needed? Because you might have had an obsolete plugin named dockermanager in there which could cause the issue you're seeing. So this information rules out that cause. Link to comment
kasper1705 Posted June 25, 2015 Share Posted June 25, 2015 Well i'm having the same problem. Tried to remove the docker image and reboot my unraid server and reinstall docker, but nothing happens. In the plugin section i only have the Dynamix WebGui and the Unraid OS listed, so there should be no plugins, that mess the docker container section up. Is it possible there is a problem with the Dynamix WebGui after the update to Unraid 6.0.0? Link to comment
njm5785 Posted June 30, 2015 Share Posted June 30, 2015 I somewhat got this working. Here are the steps I took. // First ran this on command line sudo docker version // got this error on the last line (Though I still don't know what this error really means but I no longer get it) FATA[0000] Get http:///var/run/docker.sock/v1.18/version: dial unix /var/run/docker.sock: no such file or directory. Are you trying to connect to a TLS-enabled daemon without TLS? // Then I ran this docker -D -d // got this error on the last line FATA[0000] Shutting down daemon due to errors: Insertion failed because database is full: database or disk is full The last error I got gave me the idea that maybe I should up the size of my docker image. I had it at 10G and I made it 15G. Then I disabled docker in the settings->docker section and applied. Then re-enabled it and applied. This got my docker tab back with some of my containers. Though now I still have an issue. When I go to the docker tab I only have 4 containers (screenshot attached). Though when I run go to command line and run the docker images command I have a huge list of images with some of them being my missing ones and some I have no idea why they are there. docker images -a // I get this REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE gfjardim/owncloud latest 2ce688ba14e6 7 weeks ago 513.9 MB <none> <none> 641f45a9debf 7 weeks ago 513.9 MB <none> <none> 265d0beb4e95 7 weeks ago 513.9 MB <none> <none> abf4df89fb88 7 weeks ago 289 MB <none> <none> 7e22f9c56f5e 7 weeks ago 288.9 MB <none> <none> 2dee791751b5 7 weeks ago 288.9 MB <none> <none> ad858df1f413 7 weeks ago 288.9 MB needo/couchpotato latest 196d8d33f934 7 weeks ago 338 MB <none> <none> 6844ec3597d4 7 weeks ago 288.9 MB <none> <none> 65685e623e7e 7 weeks ago 288.9 MB <none> <none> b1b7f1c2986d 7 weeks ago 288.9 MB <none> <none> e2c2eaa1385d 7 weeks ago 288.9 MB <none> <none> 721c309d7a01 7 weeks ago 288.9 MB <none> <none> 8f2da4b4533c 7 weeks ago 288.9 MB <none> <none> 411368ab3dc4 7 weeks ago 288.9 MB <none> <none> af865190d427 7 weeks ago 288.9 MB <none> <none> 0ded2369145d 7 weeks ago 288.9 MB <none> <none> cea12b865f8b 7 weeks ago 288.9 MB <none> <none> a5475b7bc3b7 7 weeks ago 288.9 MB <none> <none> 2598883ac20a 7 weeks ago 288.9 MB <none> <none> bc0df8505206 7 weeks ago 288.9 MB needo/plex latest 8906416ebf13 8 weeks ago 603.9 MB <none> <none> e05c4967b07b 8 weeks ago 603.9 MB <none> <none> 4d44b1a1dd5f 8 weeks ago 603.9 MB <none> <none> e8780cda3d60 8 weeks ago 603.9 MB <none> <none> 9a4b68e056f1 8 weeks ago 603.9 MB <none> <none> c67ec4dd661d 8 weeks ago 603.9 MB <none> <none> a31e68d0daa2 8 weeks ago 603.9 MB <none> <none> 635e31957bb8 8 weeks ago 603.9 MB <none> <none> 4760b39cedac 8 weeks ago 603.9 MB <none> <none> fbbc715c40a8 8 weeks ago 603.9 MB <none> <none> 34829843a5cd 8 weeks ago 603.9 MB <none> <none> 183ce8f863bd 8 weeks ago 603.9 MB <none> <none> c8b463b2746e 8 weeks ago 603.6 MB <none> <none> 04ff2d4ecf0a 8 weeks ago 313.5 MB <none> <none> 2db14fff5bfe 8 weeks ago 313.5 MB <none> <none> 0ad36e2b047a 8 weeks ago 310.2 MB <none> <none> 40724c4075a2 8 weeks ago 288.9 MB <none> <none> f67106a1e349 8 weeks ago 288.9 MB <none> <none> 10ed5bddf71e 8 weeks ago 288.9 MB <none> <none> b142ca11d3ed 8 weeks ago 288.9 MB <none> <none> fa3cb62b0a51 8 weeks ago 288.9 MB captinsano/ddclient latest 1e7faf00a4fb 10 weeks ago 371.9 MB <none> <none> 3f4f4efea86d 10 weeks ago 371.9 MB <none> <none> ba3bae26a9a7 10 weeks ago 371.9 MB <none> <none> a0825cae9c38 10 weeks ago 371.9 MB <none> <none> be15f8784644 10 weeks ago 371.9 MB <none> <none> 4b6fa4bbc28e 10 weeks ago 371.9 MB <none> <none> a1c44adfc8bb 10 weeks ago 371.9 MB <none> <none> 288708abb6a3 10 weeks ago 371.9 MB <none> <none> b868c5599efe 10 weeks ago 371.9 MB <none> <none> 24f99a93159f 10 weeks ago 371.9 MB <none> <none> e8e5b9953ae8 10 weeks ago 371.3 MB <none> <none> e398507f096d 10 weeks ago 279.7 MB <none> <none> f6dbdbe9413c 10 weeks ago 279.7 MB <none> <none> b0b18af94ec5 10 weeks ago 279.6 MB <none> <none> 90f4aed24972 10 weeks ago 279.6 MB <none> <none> 295f38a63786 10 weeks ago 279.6 MB <none> <none> 46d2aa519d62 10 weeks ago 279.6 MB <none> <none> e43cbc29d2ad 10 weeks ago 279.6 MB <none> <none> 22066176f7d5 10 weeks ago 279.6 MB <none> <none> 559ec1f5c454 10 weeks ago 279.6 MB captinsano/tonido latest f735ea48629e 12 weeks ago 380.7 MB <none> <none> b30da7b6ec5b 12 weeks ago 380.7 MB <none> <none> b90fdf18fe61 12 weeks ago 380.7 MB <none> <none> cbf8034174a8 12 weeks ago 380.7 MB <none> <none> e45ecafea9c7 12 weeks ago 380.7 MB <none> <none> 82fc70f9cd65 12 weeks ago 380.7 MB <none> <none> 426fc20cd498 12 weeks ago 380.7 MB <none> <none> d6330720cac1 12 weeks ago 380.7 MB <none> <none> 67dc745cb248 12 weeks ago 380.7 MB <none> <none> 929105d21390 12 weeks ago 380.7 MB <none> <none> 38ca06afe477 12 weeks ago 279.7 MB <none> <none> d310d7969f73 12 weeks ago 279.7 MB <none> <none> b51485f1d192 12 weeks ago 279.7 MB <none> <none> 1daaed38e2e0 12 weeks ago 279.6 MB <none> <none> 09312975adb1 12 weeks ago 279.6 MB <none> <none> a659e96a22d5 12 weeks ago 279.6 MB <none> <none> f594ebc36632 12 weeks ago 279.6 MB <none> <none> 1c527c7826a5 12 weeks ago 279.6 MB <none> <none> 933f6e28ea21 12 weeks ago 279.6 MB <none> <none> 09c5a8e871a7 12 weeks ago 279.6 MB needo/sabnzbd latest 29e60047211d 4 months ago 447.4 MB <none> <none> 09fc099a7b28 4 months ago 447.4 MB <none> <none> 8995cefc285b 4 months ago 447.4 MB <none> <none> ab069957577e 4 months ago 447.4 MB <none> <none> a03f4be615c6 4 months ago 447.4 MB <none> <none> cc33cd17a400 4 months ago 447.4 MB <none> <none> 18d9594ac4a6 4 months ago 447.4 MB <none> <none> 2b61957ab1c7 4 months ago 446.8 MB <none> <none> 472490b62272 4 months ago 446.6 MB <none> <none> f2e6c6d43b75 4 months ago 445.5 MB <none> <none> c040abbde224 4 months ago 309.3 MB <none> <none> 538ac87a7548 4 months ago 280.5 MB <none> <none> 9ebfd9f7714f 4 months ago 280.5 MB <none> <none> 9d013f4e4cbf 4 months ago 280.5 MB <none> <none> 0ad809410ba7 4 months ago 280.5 MB <none> <none> 3c198a7af20e 4 months ago 279.7 MB <none> <none> f06590329411 4 months ago 279.7 MB <none> <none> 595ce1a858bf 4 months ago 279.6 MB <none> <none> 5e32fbc5478b 4 months ago 279.6 MB <none> <none> 5537eae430ad 4 months ago 279.6 MB <none> <none> f74d3918f34c 4 months ago 279.6 MB <none> <none> 5a14c1498ff4 5 months ago 279.6 MB <none> <none> 2eccda511755 5 months ago 279.6 MB <none> <none> 2ce4ac388730 5 months ago 188.3 MB <none> <none> ec5f59360a64 5 months ago 188.3 MB <none> <none> 8254ff58b098 5 months ago 188.3 MB <none> <none> b39b81afc8ca 5 months ago 188.3 MB <none> <none> 615c102e2290 5 months ago 188.3 MB <none> <none> 837339b91538 5 months ago 188.3 MB <none> <none> 53f858aaaf03 5 months ago 188.1 MB smdion/docker-upstatsboard latest c3c7aed20973 6 months ago 540.1 MB <none> <none> 687a9fa2ce65 6 months ago 540.1 MB <none> <none> 686878649dfc 6 months ago 540.1 MB <none> <none> 5418d882f12e 6 months ago 540.1 MB <none> <none> c16a5e90212c 6 months ago 540.1 MB <none> <none> f4d867e4f947 6 months ago 540.1 MB <none> <none> ddd3d27dfcdd 6 months ago 540.1 MB <none> <none> 1c69777f6ce9 6 months ago 540.1 MB <none> <none> 21266eaa9eeb 6 months ago 540.1 MB <none> <none> 0166e97a69e0 6 months ago 540.1 MB <none> <none> fcff37e91ef6 6 months ago 540.1 MB <none> <none> 6116aed6f4c0 6 months ago 540.1 MB <none> <none> b891f675f3b8 6 months ago 540.1 MB <none> <none> 56703520a894 6 months ago 540.1 MB <none> <none> b4cf48407e75 6 months ago 540.1 MB <none> <none> 41b5028bea8c 6 months ago 540.1 MB <none> <none> 82bc976ed326 6 months ago 540.1 MB <none> <none> d66db4f6017a 6 months ago 495.5 MB <none> <none> 58ae0d4d5ec5 6 months ago 289 MB <none> <none> 39f00020c970 6 months ago 289 MB <none> <none> e6b6f98619ac 6 months ago 288.9 MB <none> <none> 865404e6d2e6 6 months ago 288.9 MB <none> <none> 0b828c10ab60 6 months ago 288.9 MB <none> <none> 8eb7d3b88715 6 months ago 288.9 MB <none> <none> c97a2e9a8962 6 months ago 288.9 MB <none> <none> 919db1524250 6 months ago 288.9 MB <none> <none> 9028400d0323 6 months ago 288.9 MB <none> <none> cf39b476aeec 9 months ago 288.9 MB <none> <none> 64463062ff22 9 months ago 288.9 MB <none> <none> d5199f68b2fe 9 months ago 194.8 MB <none> <none> c27763e1f3e5 9 months ago 194.8 MB <none> <none> bad562ead0dc 9 months ago 194.8 MB <none> <none> 9d9561782335 9 months ago 194.8 MB <none> <none> 6b4e8a7373fe 9 months ago 194.8 MB <none> <none> c900195dcbf3 9 months ago 194.8 MB <none> <none> 8b1c48305638 9 months ago 192.7 MB <none> <none> 67b66f26d423 9 months ago 192.7 MB <none> <none> 25c4824a5268 9 months ago 192.7 MB <none> <none> b18d0a2076a1 9 months ago 192.5 MB needo/mariadb latest 566c91aa7b1e 11 months ago 590.6 MB <none> <none> fede856341ad 11 months ago 590.6 MB <none> <none> 864b9f0054e7 11 months ago 590.6 MB <none> <none> 23c87de41786 11 months ago 590.6 MB <none> <none> 5d7fe409bfe4 11 months ago 590.6 MB <none> <none> da7bfdf0e1b6 11 months ago 590.6 MB <none> <none> 6470f811e73f 11 months ago 590.6 MB <none> <none> 594f8b77e732 11 months ago 590.6 MB <none> <none> 9243c9adab8b 11 months ago 590.6 MB <none> <none> ee0b1941d320 11 months ago 590.6 MB <none> <none> 4fe585a340e7 11 months ago 590.5 MB <none> <none> 31bfb552afaf 11 months ago 468.3 MB <none> <none> 56b9543fe345 11 months ago 391 MB <none> <none> 776eac27ad9d 11 months ago 391 MB <none> <none> 4132f6005419 11 months ago 390.9 MB <none> <none> 7418ba5f7369 11 months ago 390.9 MB <none> <none> 30867c4ff0fd 11 months ago 390.9 MB <none> <none> dabfc8a44cb5 12 months ago 390.9 MB <none> <none> 37fd06241067 12 months ago 390.9 MB <none> <none> 68bde466ffab 12 months ago 266 MB <none> <none> 5cbfee875b7b 13 months ago 266 MB <none> <none> 82c9a6741336 13 months ago 266 MB <none> <none> afc7fc2f17c1 13 months ago 266 MB <none> <none> 99ec81b80c55 14 months ago 266 MB <none> <none> d4010efcfd86 14 months ago 192.6 MB <none> <none> 4d26dd3ebc1c 14 months ago 192.6 MB <none> <none> 5e66087f3ffe 14 months ago 192.5 MB <none> <none> 511136ea3c5a 2.045643 years ago 0 B Does anyone have ideas on how I can get my missing ones (have a repository name) back in the web gui and how I can delete all the others? Plus I am not sure how I ended up with all those junk ones. I always use the web gui to create and delete docker images. Am I missing something when I delete them? Link to comment
bonienl Posted June 30, 2015 Share Posted June 30, 2015 Change Basic View to Advanced View and you will see all Dockers. Link to comment
njm5785 Posted June 30, 2015 Share Posted June 30, 2015 Doing that shows me 4 orphan images (screenshot) and it looks like they are the images I am missing. That still leaves a couple questions though. [*]How do I get them so they are not orphans anymore without deleting them? [*]That list of images I posted was huge and each one of those images was huge, can I delete those and how do I do it if I can? Link to comment
bonienl Posted June 30, 2015 Share Posted June 30, 2015 Delete the orphaned containers first, it will do already quite a cleanup. Check afterwards what has left. You need to re-install those containers to make them work (keep in mind these are only the applications, the data is still preserved). Link to comment
njm5785 Posted June 30, 2015 Share Posted June 30, 2015 Yeah I know it is only the applications but I always forget the settings I use for the containers, but that isn't that hard. I don't quite understand what "it will do already quite a cleanup" means. I understand how to delete the 4 orphans but what about the huge list of images from the command line? Link to comment
trurl Posted June 30, 2015 Share Posted June 30, 2015 Yeah I know it is only the applications but I always forget the settings I use for the containers, but that isn't that hard. I don't quite understand what "it will do already quite a cleanup" means. I understand how to delete the 4 orphans but what about the huge list of images from the command line? They may just be dependencies from the orphans and will be cleaned up when the orphans are deleted. Also, your container settings should be saved in the templates that were created when you added the dockers. Just select one of the my-docker templates from the dropdown. Link to comment
njm5785 Posted July 1, 2015 Share Posted July 1, 2015 Well that sorta worked, but I still have a bunch of images with no containers. I ran the docker info command and it shows how many I have. Is it normal to have this many images? root@Tower:~# docker info Containers: 7 Images: 172 Storage Driver: btrfs Build Version: Btrfs v4.0.1 Library Version: 101 Execution Driver: native-0.2 Kernel Version: 4.0.4-unRAID Operating System: Slackware 14.1 CPUs: 4 Total Memory: 7.723 GiB Name: Tower ID: 364Z:CZMD:C3MW:BVPY:GMIR:Y4HS:XMAF:JHWJ:K25T:X6CL:3HJ4:IHV6 Link to comment
trurl Posted July 1, 2015 Share Posted July 1, 2015 Well that sorta worked, but I still have a bunch of images with no containers. I ran the docker info command and it shows how many I have. Is it normal to have this many images? root@Tower:~# docker info Containers: 7 Images: 172 Storage Driver: btrfs Build Version: Btrfs v4.0.1 Library Version: 101 Execution Driver: native-0.2 Kernel Version: 4.0.4-unRAID Operating System: Slackware 14.1 CPUs: 4 Total Memory: 7.723 GiB Name: Tower ID: 364Z:CZMD:C3MW:BVPY:GMIR:Y4HS:XMAF:JHWJ:K25T:X6CL:3HJ4:IHV6 You could think of dockers as having several layers, with each image being a layer. When you first installed the docker, you may have forgotten all the lines that were displayed as each image was downloaded. For comparison, I have 11 dockers with 220 images. Link to comment
BRiT Posted July 1, 2015 Share Posted July 1, 2015 One fast way of cleaning this up is using the NFO approach. Stop all dockers. Stop docker service Delete docker.img file Create docker.img file Start docker service Re-add dockers via MY-templates Start dockers. Link to comment
njm5785 Posted July 1, 2015 Share Posted July 1, 2015 You could think of dockers as having several layers, with each image being a layer. When you first installed the docker, you may have forgotten all the lines that were displayed as each image was downloaded. For comparison, I have 11 dockers with 220 images. Thanks, that helps, I just figured there was an issue. If I delete one of my containers and tell it to delete the image too does it clean up all the images associated with it or does it leave behind all the junk images? One fast way of cleaning this up is using the NFO approach. Stop all dockers. Stop docker service Delete docker.img file Create docker.img file Start docker service Re-add dockers via MY-templates Start dockers. So the My-templates doesn't get deleted when you delete the docker.img file? Where is the My-templates info stored? Link to comment
trurl Posted July 2, 2015 Share Posted July 2, 2015 ...So the My-templates doesn't get deleted when you delete the docker.img file? Where is the My-templates info stored? On the flash drive. Specifically, they are in /boot/config/plugins/dockerMan/templates-user Link to comment
extremeaudio Posted December 20, 2015 Share Posted December 20, 2015 Was trying to add a container, that sort of got stuck doing nothing. And I couldn't even access web ui. So I rebooted from command (have powerdown script installed). After reboot, docker tab went missing. So I followed the steps in this thread, in that I disabled docker from settings, and re enabled using a larger docker image size. Now all except 2 of my docker containers are showing as orphaned! How to salvage the situation? Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.