Search code examples
dockerraspberry-pikiwi-tcms

**kiwi-tcms** docker containers not starting on Raspberry


Problem description:

I have followed the step-by-step described on this site: https://kiwitcms.readthedocs.io/en/latest/installing_docker.html

After running docker-compose up -d, the containers are created and started but they stay in a restart-loop. Here is docker ps:

CONTAINER ID        IMAGE                  COMMAND                  CREATED             STATUS                          PORTS               NAMES
ddf39b7a13d0        kiwitcms/kiwi:latest   "/bin/sh -c /httpd-f…"   5 days ago          Restarting (1) 39 seconds ago                       kiwi_web
27cb40760c4a        centos/mariadb         "/docker-entrypoint.…"   5 days ago          Restarting (1) 27 seconds ago                       kiwi_db

Note that this containers were created 5 days ago and they keep restarting after a few seconds.

I tried docker run -ti kiwitcms/kiwi:latest instead of docker-compose up -d, this is what i got:

standard_init_linux.go:211: exec user process caused "exec format error"

System description

Hardware: Raspberry Pi 3 b+
Distributor ID: Raspbian 
Description: Raspbian GNU/Linux 9.8 (stretch)
Release:    9.8
Codename:   stretch

Any ideas? I'm new to both docker and kiwi. Thanks!


Solution

  • To make this an official answer the problem was that the underlying OS was arm while the docker image architecture was amd64 so not compatible.