After following the docker and quantrocket installations instructions on an Apple M1 machine, we're seeing houston restart indefinitely with an Illegal instruction
error in the logs like this:
e[36mhouston_1 |e[0m /opt/quantrocket/bin/houston.sh: line 15: 18 Illegal instruction /usr/local/openresty/bin/openresty -g "daemon off;"
e[36mhouston_1 |e[0m no BASIC_AUTH_USER found so not creating .htpasswd file
e[36mhouston_1 |e[0m LETSENCRYPT_DOMAIN not set so not installing SSL
e[36mhouston_1 |e[0m qemu: uncaught target signal 4 (Illegal instruction) - core dumped
e[36mhouston_1 |e[0m /opt/quantrocket/bin/houston.sh: line 15: 18 Illegal instruction /usr/local/openresty/bin/openresty -g "daemon off;"
e[36mhouston_1 |e[0m no BASIC_AUTH_USER found so not creating .htpasswd file
e[36mhouston_1 |e[0m LETSENCRYPT_DOMAIN not set so not installing SSL
e[36mhouston_1 |e[0m qemu: uncaught target signal 4 (Illegal instruction) - core dumped
e[36mhouston_1 |e[0m /opt/quantrocket/bin/houston.sh: line 15: 17 Illegal instruction /usr/local/openresty/bin/openresty -g "daemon off;"
e[36mhouston_1 |e[0m no BASIC_AUTH_USER found so not creating .htpasswd file
e[36mhouston_1 |e[0m LETSENCRYPT_DOMAIN not set so not installing SSL
e[36mhouston_1 |e[0m qemu: uncaught target signal 4 (Illegal instruction) - core dumped
e[36mhouston_1 |e[0m /opt/quantrocket/bin/houston.sh: line 15: 17 Illegal instruction /usr/local/openresty/bin/openresty -g "daemon off;"
We've tried forcing linux/amd64
as a platform without success.
There's an issue in docker for mac which shows a possible workaround: