There are a few extra steps to be able to build the docker containers on Apple Silicon computers. You might want to add some notes to the README.
-
Not all images are available for Silicon architectures. Specifying to use linux images instead solves it.
export DOCKER_DEFAULT_PLATFORM=linux/amd64
-
The latest version of RabbitMQ crashes on Silicon architectures: in file config/dev/cab-standalone/docker-compose.yml, line 247, replace
image: rabbitmq:3-management with image: rabbitmq:3.12-management to avoid this problem.
-
One of the ports used by InteractiveAI by default conflicts with MacOs's Airplay port (port 5000), causing the build to fail. In config/dev/cab-standalone/docker-compose.yml, line 49, inside the cabevent service block change ports: - 5000:5000 with ports: - 5051:5000 (or some other free port).
There are a few extra steps to be able to build the docker containers on Apple Silicon computers. You might want to add some notes to the README.
Not all images are available for Silicon architectures. Specifying to use linux images instead solves it.
export DOCKER_DEFAULT_PLATFORM=linux/amd64The latest version of RabbitMQ crashes on Silicon architectures: in file
config/dev/cab-standalone/docker-compose.yml, line 247, replaceimage: rabbitmq:3-managementwithimage: rabbitmq:3.12-managementto avoid this problem.One of the ports used by InteractiveAI by default conflicts with MacOs's Airplay port (port 5000), causing the build to fail. In
config/dev/cab-standalone/docker-compose.yml, line 49, inside thecabeventservice block changeports: - 5000:5000withports: - 5051:5000(or some other free port).