Upcoming Maintenance Alert:

The UBNT Community will be upgraded at 5pm MDT on April 25th. During this time the community forums will be set to read-only status.

Learn more

×
Reply
Established Member
Posts: 1,473
Registered: ‎05-19-2013
Kudos: 741
Solutions: 15

UNMS on 'Docker for Mac'

I understand UBNT is not officially supporting UNMS on Mac.

I believe 'Docker for Mac' is now available and has grown quite a fair bit with latest version 17.06.2 (stable).

 

Has anyone tried it out?

Is there instructions on how to install UNMS on 'Docker for Mac'?

New Member
Posts: 7
Registered: ‎10-30-2015
Kudos: 2

Re: UNMS on 'Docker for Mac'

Without actually trying it, it looks like you might be able to install it with a couple prereq steps needed:

 

- Install Homebrew

- Install gettext via Homebrew to get a UNMS prereq of envsubst (it looks like an extra command or two needs to be done to properly "link" the Homebrew gettext into the system - ref. https://stackoverflow.com/questions/23620827/envsubst-command-not-found-on-mac-os-x-10-8)

 

I think then you could grab the latest tarball, unzip it, and run the install-full script.  You might even be able to run the stub install script that Ubiquiti provides which downloads the latest tarball, unzips it, and runs the full installer for you.  If I read the full install script right, it'll let you install on an unsupported system, you just have to tell it you're ok with that.

Obviously, I would expect very little support, if any, from Ubiquiti if you try this.

Established Member
Posts: 1,473
Registered: ‎05-19-2013
Kudos: 741
Solutions: 15

Re: UNMS on 'Docker for Mac'

@kuoirad
Thanks for making an effort to point in the right direction. I will make an effort to research on the materials, esp on how to back out (undo HomeBrew and gettext).

Just one more question. Is there any documentation on the ports UNMS requires. Just want to make sure it does not conflict with other stuffs running on the macOS and complicate the trial.
New Member
Posts: 7
Registered: ‎10-30-2015
Kudos: 2

Re: UNMS on 'Docker for Mac'

It looks like it'll want to use common ports 80 and 443, but the install script will determine if those ports are available and ask you for alternatives if they're not.  There are probably some other ones needed for talking between UNMS and devices, but I don't know them off the top of my head - I think if you read through the "Welcome to UNMS Beta" thread you'll find discussion about them.

After doing a little poking around at seeing if I can get this to run on my test Mac at the office, be aware that you're going to have to go into the install-full.sh script and make a few changes here and there.  If that's not something you're comfortable with, you probably don't want to take this on at this time.

New Member
Posts: 7
Registered: ‎10-30-2015
Kudos: 2

Re: UNMS on 'Docker for Mac'

For what it's worth, I was able to get it running, but it took some tinkering.

 

unms.png

New Member
Posts: 3
Registered: ‎08-10-2014

Re: UNMS on 'Docker for Mac'

How much tinkering ?

Highlighted
New Member
Posts: 7
Registered: ‎10-30-2015
Kudos: 2

Re: UNMS on 'Docker for Mac'

I had to comment out a couple function calls around account creation and change a few variables dealing with the home directory and username.  I thought it was relatively straightforward, you just need to be comfortable digging around in a bash script and being in a *nix environment.

 

That's what I remember, at least.  There may be more I'm forgetting, I've already uninstalled/cleaned it all up.

Reply