WDCommunity / wdpksrc

Cross compilation framework to create native packages for the Western Digital My Cloud
BSD 3-Clause "New" or "Revised" License
225 stars 61 forks source link

Update docker to latest #122

Open marcodallago opened 7 months ago

marcodallago commented 7 months ago

Hi, thanks for all the job done.

Successfully managed to install docker 20.10.15 for OS5 by @JediNite o my EX2Ultra. Is there a chance to release the latest .bin file with latest docker available? Had a few error with some docker install since docker-compose is now deprecated.

Thanks a lot!

Cheers

JediNite commented 6 months ago

@marcodallago, that is the last build I have been able to get working. Versions after used a newer version of Debian during the build process and it never worked. The binaries generated always coredumped. Tried to find a work around but never got very far.

Check out https://github.com/WDCommunity/wdpksrc/issues/85

JediNite commented 6 months ago

@marcodallago, scratch what I said before. I just tried using the standard docker binaries available from https://download.docker.com/linux/static/stable/armhf/ on my EX4100 and they worked fine, so there was no need to compile them. I am not sure if this would be the same for the EX2Ultra though, but maybe worth trying.

root@WDMyCloudEX4100 docker # docker version Client: Version: 26.1.2 API version: 1.45 Go version: go1.21.10 Git commit: 211e74b Built: Wed May 8 13:59:49 2024 OS/Arch: linux/arm Context: default

Server: Docker Engine - Community Engine: Version: 26.1.2 API version: 1.45 (minimum version 1.24) Go version: go1.21.10 Git commit: ef1912d Built: Wed May 8 13:28:49 2024 OS/Arch: linux/arm Experimental: false containerd: Version: v1.7.15 GitCommit: 926c9586fe4a6236699318391cd44976a98e31f1 runc: Version: 1.1.12 GitCommit: v1.1.12-0-g51d5e94 docker-init: Version: 0.19.0 GitCommit: de40ad0

marcodallago commented 6 months ago

Hey @JediNite thanks for the reply!! Managed to compile latest docker using this guide

https://github.com/WDCommunity/wdpksrc/issues/111#issuecomment-1360915995

At last, couldn't install immich because I discovered they ditch arm7 support. But docker works great!

akanoodles commented 5 months ago

Hey @JediNite @marcodallago, So can Portainer be updated to the latest (beyond 1.24.1) on the WD MyCloudPR4100?

JediNite commented 5 months ago

Sure. Just run the update_portainer.sh script that is included and that should update it to the latest available on docket hub.

Get Outlook for iOShttps://aka.ms/o0ukef


From: Nural Choudhury @.> Sent: Wednesday, June 12, 2024 4:01:31 AM To: WDCommunity/wdpksrc @.> Cc: JediNite @.>; Mention @.> Subject: Re: [WDCommunity/wdpksrc] Update docker to latest (Issue #122)

Hey @JediNitehttps://github.com/JediNite @marcodallagohttps://github.com/marcodallago, So can Portainer be updated to the latest on the WD MyCloudPR4100?

— Reply to this email directly, view it on GitHubhttps://github.com/WDCommunity/wdpksrc/issues/122#issuecomment-2161327714, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADMYAD4HP6CQSHJN7NEO5A3ZG43PXAVCNFSM6AAAAABHBY4DW6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRRGMZDONZRGQ. You are receiving this because you were mentioned.Message ID: @.***>

chriss-89 commented 5 months ago

@JediNite @marcodallago Can you explain how I can get the latest Docker version on my Ex2 Ultra? I don't quite understand 🙈😅 I have built it using the instructions https://github.com/WDCommunity/wdpksrc/issues/111#issuecomment-1360915995 but I get the version 20.10.12 out again. Do I have to adjust something in the .sh files so that it pulls the latest Docker version and if so which ones? @JediNite What is meant by using the standard binaries? I have unpacked the latest version, but have no idea what to do with the files.

Edit: ah I see you have released 26.1.2 on your GitHub site. Thank you very much

mk-pmb commented 1 month ago

I tried the docker_26.1.2_EX2Ultra.bin but installation fails with message "Unable to upload app package for installation. Please check your network connection and try again." Sounds like some download failed somewhere. Can we make it so that the install script in this case fakes success enough to at least be able to show a proper, actionable error message? If there is a failed download, maybe I can provide the file manually and have the script retry.

Edit: In order to "Please check your network" I tried MyCloudEX2Ultra_docker_20.10.14.bin and that one installed fine.

Edit 2: I got it to work. At least somewhat. At least for old versions of docker images. Tutorial

Copyrght commented 1 week ago

I tried the docker_26.1.2_EX2Ultra.bin but installation fails with message "Unable to upload app package for installation. Please check your network connection and try again." Sounds like some download failed somewhere. Can we make it so that the install script in this case fakes success enough to at least be able to show a proper, actionable error message? If there is a failed download, maybe I can provide the file manually and have the script retry.

Edit: In order to "Please check your network" I tried MyCloudEX2Ultra_docker_20.10.14.bin and that one installed fine.

Edit 2: I got it to work. At least somewhat. At least for old versions of docker images. Tutorial

I think, its because files owner in the package are docker:docker. I make package for myself with root:root owner and all works fine

mk-pmb commented 4 days ago

Thanks for that observation! That might be helpful for others. Nonetheless I'd love to see more useful messages in case of an error.