-
-
Notifications
You must be signed in to change notification settings - Fork 501
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DietPi-Software | Docker: Install fails on 1st run install #2163
Comments
ah, I see GitHub caught up and listed all of the issues I made. Thanks and sorry for the mess. |
Close them, just leave one opened. |
Thanks for the report, we'll try to replicate.
No worries, Github has been a nightmare my end aswell 👍 |
Thanks again. I don't see a dietpi file attached on this one, so here is one of those. If I can be of assistance in any way, please lmk. I can test, etc. |
@dezren39 You mentioned that it failed when you chose it to install on 1st boot. Does it install when when you (re)install it afterwards, after first run setup has completely finished? Also you face a strange issue with the bugreport. Perhaps there is a deeper issue somehow related:
Check code: https://github.com/Fourdee/DietPi/blob/dev/dietpi/dietpi-bugreport#L140 Could you try the following and report output:
Lol by chance found a similar bugreport issue: https://github.com/Fourdee/DietPi/issues/2087#issuecomment-423990473 |
First run setup completes fine, bug report immediately after successful first run setup fails. Attached is the log from that as well as the tail end of trying to install Docker as an individual install using the |
https://github.com/lxc/lxd/issues/2321 |
Its most likely kernel compile options are missing for full Docker support on this device. NanoPi tend to strip back their kernel (CIFS/NFS support missing in most cases). Unfortunately, we do not offer/compile custom kernels, due to limited man hours. We rely on the provided kernel by FriendlyARM.
Unsure what the cause is here. Removal of 7z resulted in DietPi error handle correctly. Doesn't make sense as https://github.com/Fourdee/DietPi/blob/dev/dietpi/dietpi-bugreport#L150 would detect if no file, just before stat is run. Maybe an issue in older version of DietPi only? |
According to error message this issue is not related to: https://github.com/Fourdee/DietPi/issues/2238
@Fourdee Quick search result, not sure if still current: https://vjordan.info/log/fpga/friendlyarm-nanopi-neo-mainline-and-docker.html |
Docker does work with Armbian. No luck with default kernel so far. Thanks again. I hope compatibility can be figured out as I like the project. Let me know if / when you have any need for testing. Hopefully FriendlyARM patches! |
I reached out to FriendlyArm a little bit back about this and the developer said that they knew it could be enabled using instructions from Gentoo, but hadn't had the time to completely figure it out yet. I followed FriendlyARM's guide to compile their kernel oneself and added the needed changes from the Gentoo Docker guide. Then, I mounted something like the 6.17 image and placed my new kernel contents over /boot which left the DietPi parts alone. This worked! At least I can run many of the basic ARM images so far without any problems, I haven't tried anything too complex. I remember that you rely on the kernel provided by FriendlyARM, I've starting working on cleaning up my changes to reach out to them because I'd love to get the change official. :-) I'm unsure what the timeline for that might be, but I'd guess that's the preferred way to incorporate the kernel changes into this project. I'd also like to offer to see what kinds of evidence or changesets might be sufficient to bring the change to the project directly. There's some level of trust in such things, especially in maintaining even a minor fork for some period of time, and so I understand that may be impractical. As such, I'll mainly focus on bugging FriendlyARM. ;-) |
I had another look on this. Yeah as already stated, we do not have the man power to build custom kernels here.
If indeed with the available images Docker does not run, I am afraid we need to disable our Docker support for this device. For completeness I found another 3rd party Debian installer for M3: https://github.com/rafaello7/debian-installer-nanopi-m3 |
Sounds good! I've gotten it working locally but real life has distracted me from making a proper defconfig patch for FriendlyElec. It looks like Fire3 is still supported by Armbian btw, https://www.armbian.com/nanopi-fire3/ and that image natively supports Docker. Yeah those huge images are part of what made me so determined to get DietPi working with Docker, a 300mb image I might be able to netboot from, not an 8gb. That debian install project is super cool! I hadn't seen that before. Might see how well it does. |
@dezren39 So you actually own a Fire3? Then we marked the issue wrong 😉. In this case the ARMbian image + converting via DietPi-PREP indeed would be an option to test. Perhaps some research first makes sense first to verify Docker support by reading/searching the ARMbian forum about this. |
I mark this issue as closed. Added NanoPi M3/T3/F3 request to the Buster image overview thread: #2979 |
Creating a bug report/issue:
I recently attempted to take a copy of DietPi and install Docker. This failed, and so I'll attached the messages below. My only modifications to the DietPi config file were for locatalization, to 'auto-install' without user interference, infinite wait on network and to install Docker at the very bottom. I'll also attach this config file. It appears some module for the kernel may be missing, though I haven't been able to ascertain much more than that.
Required Information:
Additional Information (if applicable):
2018-10-21_journalctl_copied.txt
Steps to reproduce:
Expected behaviour:
Actual behaviour:
docker
command becomes available but Docker service cannot be started.service docker start
produces similar output to the error output when the initial install fails.Extra details:
journalctl -xe
. I'd be happy help with debugging this if there is anything you'd like me to try or if there were something I'm doing wrong. I'm hoping that these boards are at least capable of using Docker as that is what I bought them for and they are using a new enough kernel. LMK what I can do to help.The text was updated successfully, but these errors were encountered: