I've been stumped trying to run Nextcloud via docker for the past few weeks. I've tried using ownyourbits/nextcloudpi, nextcloud, and the example docker-compose scripts provided by the Nextcloud team, but they will all complain about some file being unexecutable. However, I do have other containers successfully running.
Since this happens with multiple containers, I think it must be a problem with my system. If I exec into the container, I'm able to use apt to reinstall the affected files and get things working. However, this will be undone when new containers are pulled.
Trying to example the files will give errors like these: objdump: /usr/bin/jq: file format not recognized
. The affected programs work fine on my docker host.
It almost appears that binaries are being corrupted as they're being pulled from dockerhub... is this possible? What else can I do to troubleshoot this?
I'm running Ubuntu Server 19.10 x86_64:
chase@chase-server:~$ uname -a
Linux chase-server 5.3.0-24-generic #26-Ubuntu SMP Thu Nov 14 01:33:18 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
ownyourbits/nextcloudpi
. I create the container withdocker create -p 443:443 -p 80:80 -v ncdata:/data --name nextcloudpi ownyourbits/nextcloudpi nextcloud.chaselau.me
. using file on jq reads:/usr/bin/jq: data
– Chase Dec 2 at 22:44