DDS Record & Replay
.

Introduction

  • eProsima DDS Record & Replay Documentation
  • Commercial support
  • Overview
  • Contributing to the documentation
  • Structure of the documentation

Installation Manual

  • 1. Windows
  • 2. Linux
  • 3. Docker Image

Recording application

  • 1. Getting Started
  • 2. Usage
  • 3. Configuration
  • 4. Remote Control

Replay application

  • 1. Getting Started
  • 2. Usage
  • 3. Configuration

Tutorials

  • 1. Visualize data with Foxglove

Developer Manual

  • 1. Linux installation from sources
  • 2. Windows installation from sources
  • 3. CMake options

Release Notes

  • Forthcoming Version
  • Version v1.2.0
  • Previous Versions

Appendixes

  • Glossary
DDS Record & Replay
  • »
  • 3. Docker Image (recommended)
  • View page source

3. Docker Image (recommended)¶

Warning

Currently, DDS Record & Replay Docker image only contains DDS Recorder tool, DDS Replay tool application will be added soon.

eProsima distributes a Docker image of DDS Record & Replay with Ubuntu 22.04 as base image. This image launches an instance of DDS Record & Replay that is configured using a YAML configuration file provided by the user and shared with the Docker container. The steps to run DDS Record & Replay in a Docker container are explained below.

  1. Download the compressed Docker image in .tar format from the eProsima Downloads website. It is strongly recommended to download the image corresponding to the latest version of DDS Record & Replay.


  2. Extract the image by executing the following command:

    load ubuntu-ddsrecorder:<version>.tar
    

    where version is the downloaded version of DDS Record & Replay.


  3. Build a DDS Record & Replay configuration YAML file on the local machine. This will be the DDS Record & Replay configuration file that runs inside the Docker container. To continue this installation manual, let’s use the configuration file provided in this tutorial. Open your preferred text editor and copy the configuration example from here into the /<dds_recorder_ws>/DDS_RECORDER_CONFIGURATION.yaml file, where dds_recorder_ws is the path of the configuration file. To make this accessible from the Docker container we will create a shared volume containing just this file. This is explained in next point.


  4. Run the Docker container executing the following command:

    docker run -it \
        --net=host \
        --ipc=host \
        --privileged \
        -v /<dds_recorder_ws>/DDS_RECORDER_CONFIGURATION.yaml:/root/DDS_RECORDER_CONFIGURATION.yaml \
        ubuntu-ddsrecorder:version
    

    It is important to mention that both the path to the configuration file hosted in the local machine and the one created in the Docker container must be absolute paths in order to share just one single file as a shared volume.

    After executing the previous command you should be able to see the initialization traces from the DDS Record & Replay running in the Docker container. If you want to terminate the application gracefully, just press Ctrl+C to stop the execution of DDS Record & Replay.

Next Previous

© Copyright 2023, eProsima.