Public | Automated Build

Last pushed: 3 years ago
Short Description
Short description is empty for this repo.
Full Description

REDHAWK docker

A basic Docker image of a REDHAWK development environment.

The image can be pulled from the Docker Hub Registry

The default command for this image runs a bash shell as the 'redhawk' user. This is a privileged user and is not required to authenticate when running 'sudo' so that the container may be customized.

docker run -i -t ryanbauman/redhawk

The image comes with the omniNames and omniEvents servers installed and configured. Start them with:

sudo service omniNames start
sudo service omniEvents start

#REDHAWK IDE support
The REDHAWK IDE has been intentionally omitted from the yum repository this image draws from. To enable IDE support in your docker container, download the standalone IDE from sourceforge and invoke the image appropriately.

If you are on an SELinux enabled host, assign the appropriate context to the /tmp/.X11-unix directory as described here:

chcon -Rt svirt_sandbox_file_t /tmp/.X11-unix

Additionally, disable xhost access control:

xhost +

Run the image and mount the volume to the container. Additionally, set the display environment variable:

docker run -i -t --volume=/tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=unix$DISPLAY ryanbauman/redhawk

At the shell prompt, retrieve the REDHAWK IDE from sourceforge and unpack it:

curl -L | tar zx

Install minimal gtk support:

sudo yum install -y PackageKit-gtk-module libcanberra-gtk2

Verify that the REDHAWK IDE can be launched and displays correctly on the host system:

./eclipse/eclipse &
Docker Pull Command
Source Repository