OK, resolved, for those using a bitnami Discourse docker-compose (Docker) install for development, here are the steps I used (with guidance from what @fzngagan pointed out)
> docker exec -it <your container name> /bin/bash
In the container…
> export RAILS_ENV=production
I’m not sure what impact this will have on logging and maybe I should have tried =dev or development.. so something for you guys to report but I’m on a rush, sorry
> bundle exec rake admin:create
Answer the questions, password must adhere to Discourse rules or else the script starts from the beginning again
Note: No need for ./Launcher as stated in the link that @fzngagan stated above.
It’s unfortunate that this isn’t available via the API if Discourse was set to a Dev or Test env as this would greatly simplify testing and development for API services that want to use, however I’ll live with the command line in the Docker instance for now.