Migrating Influxdb from Mac os to Docker using QNAP Container Station

John Wheeler
7 min readSep 6, 2021
Photo by Pat Whelen on Unsplash

Prior to installing several services on my mac mini like Graylog for log management and Grafana for metrics I investigated using docker on the Mac mini. I initially setup Graylog in Docker only to find out that the network did not support a bridge on Docker Desktop for Mac. This can be mitigated for several services that support HTTP or HTTPS, but for syslog, there is no inter working function that can proxy to translate syslog messages and keep the original source IP. After discovering this the hard way, by setting a container and then seeing the log messages with a translated IP address, I decided to install Graylog on my Mac mini with Brew.

Unfortunately, shortly after I installed Graylog directly, I realized that my 2012 Mac mini wouldn’t support BigSur. I didn’t want to maintain these applications on hardware that was no longer supported so I’d need to find a new home for all of my applications. I purchased a new QNAP last year and migrated from my old QNAP to the new on. One of the features I noticed was the container station using Docker.

I had several requirements for installing on the QNAP and using container station.

  • Assign an IP address to a service and define a corresponding domain name for each. I wanted to be able to navigate to a service by URL in config files…

--

--

John Wheeler

Security professional, Mac enthusiast, writing code when I have to.