3 ms·
"Pulling docker images every 5 months as a service"
by jasonhansel 6y ago
"Pulling docker images every 5 months as a service"
- imglorp 6y agoHey, you could distribute that as a container on Docker hub...
- AsyncAwait 6y agoWhich would mean people will regularly pull it and thus prevent it from being deleted. I call that a self-sustainable business model.
- swinges 6y agoThis is both amusing and actually feasible
- baq 6y agoFinally a good use for that raspberry pi idling in the corner
- Rebelgecko 6y agoHow hard is it to pull non-ARM images from a pi?
- skissane 6y agoYou can pull another platform's image. If the image is only available for one platform, you can just pull it. If the image is available for multiple platforms, it will pull your platform instead, you need to explicitly specify the digest to get another platform's: For example: docker pull python@sha256:2d29705d82489bf999b57f9773282eecbcd54873d308a7e0da3adb8a2a6976af Pulls the latest Python image for Linux Alpine running on IBM System/z. Not what you were asking, but if you have qemu-user-static installed, you can even run Docker images for other platforms. For example: docker run -it python@sha256:2d29705d82489bf999b57f9773282eecbcd54873d308a7e0da3adb8a2a6976af That's Python for Linux for IBM System/z. Check the CPU architecture: import os;os.uname().machine Running other platform's images under QEMU is going to be quite slow on a Raspberry Pi, I imagine (I haven't tried it). But of course for this case you don't have to run the image, you just want to pull it, so that doesn't matter.
- sebazzz 6y agoJust ensure you've busted the cache, otherwise you're only pulling a joke.