Skip to content
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

Update docker to latest #122

Open
marcodallago opened this issue May 1, 2024 · 9 comments
Open

Update docker to latest #122

marcodallago opened this issue May 1, 2024 · 9 comments

Comments

@marcodallago
Copy link

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
Copy link
Collaborator

JediNite commented May 13, 2024

@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 #85

@JediNite
Copy link
Collaborator

JediNite commented May 13, 2024

@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
Copy link
Author

Hey @JediNite thanks for the reply!! Managed to compile latest docker using this guide
##111 (comment)

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

@akanoodles
Copy link

akanoodles commented Jun 11, 2024

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

@JediNite
Copy link
Collaborator

JediNite commented Jun 11, 2024 via email

@chriss-89
Copy link

chriss-89 commented Jun 15, 2024

@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
Copy link

mk-pmb commented Oct 26, 2024

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
Copy link

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
Copy link

mk-pmb commented Nov 28, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants