eProsima Docker Image¶
eProsima provides the eProsima XRCE-DDS Suite Docker image for those who want a quick demonstration of XRCE-DDS running on an Ubuntu platform.
This Docker image was built for Ubuntu 20.04 (Focal Fossa).
To run this container you need Docker installed; from a terminal run:
$ sudo apt install docker.io
This Docker image contains the complete XRCE-DDS suite, which includes:
eProsima XRCE-DDS libraries and examples: XRCE-DDS libraries bundled with several examples that showcase a variety of capabilities of eProsima’s Fast DDS implementation.
eProsima XRCE-DDS Agent: eProsima XRCE-DDS Agent is a ready to use implementation of DDS-XRCE Agent and it is available for using along with provided examples.
To load this image into your Docker repository, run:
$ docker load -i xrcedds-suite:<XRCE-DDS-Version>.tar
You can run this Docker container as follows:
$ docker run -it xrcedds-suite:<XRCE-DDS-Version>
From the resulting Bash Shell you can run each feature.
Client Hello World Example¶
Included in this Docker container is a set of binary examples that showcase some of the functionalities of the XRCE-DDS libraries.
This is a minimal example that will perform a Publisher/Subscriber match and start sending samples. This example is not constrained to the current instance. It’s possible to run several instances of this container to check the communication between them by running the following from each container:
$ docker run -it xrcedds-suite:<XRCE-DDS-Version> helloworld_pub
$ docker run -it xrcedds-suite:<XRCE-DDS-Version> helloworld_sub