There are two scenarios for the macOs that doesn’t work for me (anymore)
1. Using Kong 2.5.0 with docker 188.8.131.52 (with compose)
This used to work very well until the latest macOs update which leads to the following error:
WARN network gateway_net: network.external.name is deprecated in favor of network.name [+] Running 2/2 ⠿ Container db-gateway Running 0.0s ⠿ Container kong Recreated 0.1s Attaching to kong kong | Cannot mkdir /tmp/resty_smJVkWJcjK: No space left on device kong exited with code 28
I guess something changed here on the operating system level as the
/tmp directory now somehow seems to point to
/private/tmp. (on a mac terminal: cd /tmp; open . → finder shows /private/tmp). Or may be this could be also related to the new docker version.
2. Installing with brew
Trying this scenario I get the following errors:
==> Installing kong from kong/kong ==> Patching ==> /email@example.com/luarocks/bin/luarocks --tree=/usr/local/Cellar/kong/2.5.0 make CRYPTO_DIRfirstname.lastname@example.org/openssl OPENSSL_DIRemail@example.com/openssl 🍺 /usr/local/Cellar/kong/2.5.0: 1,221 files, 9.5MB, built in 1 minute 53 seconds [5.8]me@laptop:~> kong start -c /Users/me/.app/gateway/kong.conf 2021/09/12 18:48:25 [warn] ulimit is currently set to "256". For better performance set it to at least "4096" using "ulimit -n" Error: could not find OpenResty 'nginx' executable. Kong requires version 184.108.40.206 to 220.127.116.11
With openresty actually installed:
[5.8]me@laptop:~/.app/gateway> brew search kong@ ==> Formulae kong/deck/deck ✔ kong/kong/kong ✔ firstname.lastname@example.org email@example.com ✔ firstname.lastname@example.org email@example.com ✔ kona
Thanks a lot!