-
Notifications
You must be signed in to change notification settings - Fork 22
How difficult to support ARM images? #8
Description
Hi --
Thanks for all the great work. For me, I've not run into the persistent data problems mentioned in other issues and docker-grav works great. I have a fork of your repository where I'm bumping the Grav core version and providing updated docker builds usually within a few days of Grav releases on docker hub. And for me I've been using your docker-grav in essence since I think 1.10.
I run docker-grav on a Synology NAS 415+ and it runs great there. I also use the NAS's applications such as HyperBackup to snapshot my persistent directory into Amazon Cloud Drive as a backup of my site. While the site runs great on my NAS, the nas consumes a decent amount of power so I have it on a power schedule of 5:30am - 8:30pm.
I recently bought an Odroid C2 and I've installed Armbian Ubuntu 16.04 LTS on it, and Docker.
Although; I suppose somewhere in docker-grav, or chapdev, or alpinelinux image layers docker-grav is built for x86 cpus (I'm not sure where because I see no ARCH options in any of the make files -- unless it's just the assumed global default everywhere throughout all the dockerfiles).
My question is how hard would it be to supply an aarch64 docker image? I'd love to (try) and moderate the site on my nas locally, backup and snapshot it there, and then essentially rsync my persistent directory to my Odroid and have a very light weight 24/7 powered web server essentially that doesnt suck gob of electricity haha.
The error from the x86 image in docker is as follows, as does the arch of my arm board:
dgurba@odroidc2:~$ sudo docker run -d -p 8080:8080 tenken/docker-grav:1.1.5
cf30dbcfdce99c1ab16e3ce78e5bfd2c9376ffbb0e48ea31e5329847674ba26f
docker: Error response from daemon: rpc error: code = 2 desc = "oci runtime error: exec format error".
dgurba@odroidc2:~$ uname -a
Linux odroidc2 3.14.74-odroidc2 #1 SMP PREEMPT Sun Aug 7 08:59:34 CEST 2016 aarch64 aarch64 aarch64 GNU/Linux
Thanks again. If it's too cumbersome because each layer would have to change I understand that. I'm relatively new to Docker. I appreciate any feedback regarding options (even like, use this other simpler docker grav image with linux+ngnix+grav and swap out a base linux image with an aarch64 one); as I understand it chaperone is something you created and maintain.