zyke Posted March 4, 2021 Share Posted March 4, 2021 (edited) As the topic reads, was trying to install a new docker app, and recieved an error with "read-only file system". When checking the logs, I could see similar issues where the current dockers are unable to write logs time="2021-03-04T11:53:11.079134440+01:00" level=error msg="Failed to log msg \"\" for logger json-file: write /var/lib/docker/containers/4312a9b16e3a529e33ebc383c2a8b41800d7ffaa72f3b91b9fb609f7a172d569/4312a9b16e3a529e33ebc383c2a8b41800d7ffaa72f3b91b9fb609f7a172d569-json.log: read-only file system" There does not seem to be any issues with creating files or folders on the cache drive itself, so I assume that the docker img have become correpted. Attached is the diagnostics. If someone could please help me out here, and also please tell me where you find things so I can get a greater understanding of how to TS unraid. If it is the docker img that is corrupted, is there a process on how to replace the docker img file and keep the settings, since the config files are in the /appdata/* I assume it should just be to remove the old docker image, get a new and reinstall the apps? Thanks in advance! Edited March 4, 2021 by zyke Quote Link to comment
Squid Posted March 4, 2021 Share Posted March 4, 2021 20 minutes ago, zyke said: If it is the docker img that is corrupted, is there a process on how to replace the docker img file and keep the settings, since the config files are in the /appdata/* I assume it should just be to remove the old docker, get a new and reinstall the apps? Yup https://forums.unraid.net/topic/57181-docker-faq/#comment-564309 1 Quote Link to comment
zyke Posted March 4, 2021 Author Share Posted March 4, 2021 3 hours ago, Squid said: Yup https://forums.unraid.net/topic/57181-docker-faq/#comment-564309 Thank you for this! I followed the steps outlined, it worked like a charm. Recreated the dockers with going to "Docker" then "Add Container" and just added one of the ones I had used before and everything worked like a charm! Quote Link to comment
Recommended Posts
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.