Simple docker container as rc_cube UserSpace example based on nginx-hello.
The image is available on Docker Hub: https://hub.docker.com/r/roboception/hello_rc_cube
When running in the rc_cube userspace, it will query the rc_cube REST-API and display the hostname and external IP of the rc_cube along information of the container application.
To access the web page, the port 80 in the container needs to be mapped to any free host (rc_cube) port.
This can either be a manually chosen fixed port or an automatically published random port.
The image has the label com.roboception.app.http
, which will tell the rc_cube that the protocol for the mapped host port is http.
A Docker healthcheck is also set, so the health status will also be shown.