Files
mq-container/incubating/mq-explorer
Arthur Barr cc0f072908 Change for running as a non-root user (#276)
* Enable running container as mqm

* Fix merge problem

* Don't force root usage

* RHEL image runs as mqm instead of root

* Build on host with SELinux enabled

* Enable building on node in an OpenShift cluster

* Enable running container as mqm

* Fix merge problem

* Don't force root usage

* Merge lastest changes from master

* RHEL image runs as mqm instead of root

* Fix merge issues

* Test changes for non-root

* Make timeout properly, and more non-root test fixes

* Run tests with fewer/no capabilities

* Correct usage docs for non-root

* Add security docs

* Add temporary debug output

* Remove debug code

* Fixes for termination-log

* Allow init container to run as root

* Fixes for CentOS build

* Fixes for RHEL build

* Logging improvements

* Fix Dockerfile RHEL/CentOS build

* Fix bash error

* Make all builds specify UID

* Use redist client for Go SDK

* Inspect image before running tests

* New test for init container

* Log container runtime in runmqdevserver

* Add extra capabilities if using a RHEL image
2019-02-27 15:32:34 +00:00
..
2017-11-13 13:52:55 +00:00

Docker for Mac

Steps to build a Docker image containing IBM MQ Explorer:

  1. Download and extract the code from GitHub, or run the following command: git clone https://github.com/ibm-messaging/mq-container
  2. Open a Terminal window in the mq-container directory
  3. Run docker build -t mq-explorer -f ./incubating/mq-explorer/Dockerfile .

Steps to prepare your Mac with XQuartz:

  1. Install XQuartz. Version 2.7.10 works, but V2.7.11 doesn't seem to (see this thread)
  2. Run XQuartz
  3. Open the XQuartz "Preferences" menu, go to the "Security" tab and enable "Allow connections from network clients"

Steps to run IBM MQ Explorer:

  1. Add your IP address to the list of allowed hosts: xhost + $(ipconfig getifaddr en0)
  2. Run MQ Explorer: docker run -e DISPLAY=$(ipconfig getifaddr en0):0 -v /tmp/.X11-unix:/tmp/.X11-unix -u 0 -ti mq-explorer