Docker install on MacOS

I tried to run Discourse locally on my Mac.
But not with any luck …
(I have “masked” the data I actually used to test.com++)

myserver:discourse root# ./discourse-setup
./discourse-setup: line 93: free: command not found
./discourse-setup: line 116: [: : integer expression expected
./discourse-setup: line 125: [: : integer expression expected

Ports 80 and 443 are free for use
samples/standalone.yml -> containers/app.yml
./discourse-setup: line 93: free: command not found
Found GB of memory and 8 physical CPU cores
./discourse-setup: line 197: [: : integer expression expected
./discourse-setup: line 201: [: : integer expression expected
./discourse-setup: line 205: 256 * : syntax error: operand expected (error token is " ")

Hostname for your Discourse? [discourse.example.com]: testforum.test.com
Email address for admin account(s)? [me@example.com,you@example.com]: admin@test.com
SMTP server address? [smtp.example.com]: send.test.com
SMTP port? [587]: 465
SMTP user name? [user@example.com]: admin@test.com
SMTP password? [pa$$word]: PasswordInClearText
Optional email address for setting up Let's Encrypt? (ENTER to skip) [me@example.com]:

Does this look right?

Hostname : testforum.test.com
Email : admin@test.com
SMTP address : send.test.com
SMTP port : 465
SMTP username : admin@test.com
SMTP password : PasswordInClearText

ENTER to continue, 'n' to try again, Ctrl+C to exit:
DISCOURSE_SMTP_PORT change failed.
DISCOURSE_SMTP_USER_NAME change failed.
DISCOURSE_SMTP_PASSWORD change failed.
web.ssl.template.yml NOT DISABLED--Are you using a non-standard template?
web.ssl.template.yml NOT DISABLED--Are you using a non-standard template?

Unfortunately, there was an error changing

-d This may happen if you have made unexpected changes.
myserver:discourse root#

I tried looking into lines 93,116 and 125 in and tried to execute the line mentioned:
37
and that failed with “-bash: free: command not found” - just as the error message says.

Has anyone got the docker image up and running on a Mac?

1 like