Error during Nextcloud Server install with Docker on Raspberry Pi 4

Hi,

I followed the first three steps of the Docker Image install guide at

However, I get the following error after running the command in step 3:
WARNING: The requested image’s platform (linux/arm64) does not match the detected host platform (linux/arm/v7) and no specific platform was requested
exec /usr/bin/start.sh: exec format error

Have anyone encountered this issue, and does anyone know a possible solution?

— Terminal Dump:
I first ran these two lines, I don’t have the full output since I closed and opened my SSH session.

pi@a:~ $ curl -fsSL get.docker.com | sudo sh

pi@a:~ $ sudo usermod -aG docker $USER`

– Restarted session to update the group –

pi@a:~ $ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
pi@a:~ $ sudo docker run
–sig-proxy=false
–name nextcloud-aio-mastercontainer
–restart always
–publish 9000:8080
–publish 9001:8443
–volume nextcloud_aio_mastercontainer:/mnt/docker-aio-config
–volume /var/run/docker.sock:/var/run/docker.sock:ro
nextcloud/all-in-one:latest-arm64
Unable to find image ‘nextcloud/all-in-one:latest-arm64’ locally
latest-arm64: Pulling from nextcloud/all-in-one
934ce60d1040: Pull complete
783d22fac3ea: Pull complete
d4aa07095191: Pull complete
0cdf93b070c8: Pull complete
912de44aeacd: Pull complete
cdf79b4d3197: Pull complete
7bbde8f77b31: Pull complete
c88041b4b71e: Pull complete
d1bd0e66a4c1: Pull complete
eaaa65b7aba5: Pull complete
33e0631a1acd: Pull complete
e975826235c4: Pull complete
f04d9ab3b043: Pull complete
eedda4e4536e: Pull complete
21c065633b39: Pull complete
4f4fb700ef54: Pull complete
1f29e1634129: Pull complete
c7a639b11910: Pull complete
847cc92b93b4: Pull complete
97d121c5d197: Pull complete
0e4e8fd4da71: Pull complete
479446d176c0: Pull complete
f3665e335500: Pull complete
f2775b1a7e21: Pull complete
cfd98e981b99: Pull complete
915a3cca4b93: Pull complete
9b414e130c9b: Pull complete
4220086bd3f6: Pull complete
5e7f461f72c4: Pull complete
f2d470c78fe7: Pull complete
854188ee9e15: Pull complete
f2ce39ba71cb: Pull complete
8e0edcc6c289: Pull complete
5c83bd866188: Pull complete
e46a9c44a7ad: Pull complete
1e8e10377ff2: Pull complete
Digest: sha256:7aa72bc325ce45adcd2b3df9b6e338f712349b0eceeca332964e6aba726c29a3
Status: Downloaded newer image for nextcloud/all-in-one:latest-arm64
WARNING: The requested image’s platform (linux/arm64) does not match the detected host platform (linux/arm/v7) and no specific platform was requested
exec /usr/bin/start.sh: exec format error
pi@a:~ $ docker version
Client: Docker Engine - Community
Version: 23.0.1
API version: 1.42
Go version: go1.19.5
Git commit: a5ee5b1
Built: Thu Feb 9 19:46:47 2023
OS/Arch: linux/arm
Context: default

Server: Docker Engine - Community
Engine:
Version: 23.0.1
API version: 1.42 (minimum version 1.12)
Go version: go1.19.5
Git commit: bc3805a
Built: Thu Feb 9 19:46:47 2023
OS/Arch: linux/arm
Experimental: false
containerd:
Version: 1.6.16
GitCommit: 31aa4358a36870b21a992d3ad2bef29e1d693bec
runc:
Version: 1.1.4
GitCommit: v1.1.4-0-g5fd4c4d
docker-init:
Version: 0.19.0
GitCommit: de40ad0
pi@a:~ $ docker info
Client:
Context: default
Debug Mode: false
Plugins:
buildx: Docker Buildx (Docker Inc.)
Version: v0.10.2
Path: /usr/libexec/docker/cli-plugins/docker-buildx
compose: Docker Compose (Docker Inc.)
Version: v2.16.0
Path: /usr/libexec/docker/cli-plugins/docker-compose

Server:
Containers: 1
Running: 0
Paused: 0
Stopped: 1
Images: 1
Server Version: 23.0.1
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Using metacopy: false
Native Overlay Diff: true
userxattr: false
Logging Driver: json-file
Cgroup Driver: systemd
Cgroup Version: 2
Plugins:
Volume: local
Network: bridge host ipvlan macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
Swarm: inactive
Runtimes: io.containerd.runc.v2 runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 31aa4358a36870b21a992d3ad2bef29e1d693bec
runc version: v1.1.4-0-g5fd4c4d
init version: de40ad0
Security Options:
seccomp
Profile: builtin
cgroupns
Kernel Version: 5.15.84-v7l+
Operating System: Raspbian GNU/Linux 11 (bullseye)
OSType: linux
Architecture: armv7l
CPUs: 4
Total Memory: 1.828GiB
Name: a
ID: 71f728a0-7ebb-4ecc-883c-885c4cf3af59
Docker Root Dir: /var/lib/docker
Debug Mode: false
Registry: https://index.docker.io/v1/
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false

WARNING: No memory limit support
WARNING: No swap limit support

Hi, it looks like you are not running a 64-bit OS.

Hi. I believe that you are right.

I am not sure how I did not think about that.

Thanks for the reply!