diff --git a/docker/operator/Dockerfile b/docker/operator/Dockerfile index 4b9a891..43c7a57 100644 --- a/docker/operator/Dockerfile +++ b/docker/operator/Dockerfile @@ -7,6 +7,9 @@ RUN apt update && apt-get install -y --no-install-recommends \ iproute2 \ net-tools \ tmux \ + iputils-ping \ + netcat-traditional \ + vim \ && rm -rf /var/lib/apt/lists/* # Install rmw_zenoh diff --git a/docker/operator/zenoh.json5 b/docker/operator/zenoh.json5 index 13b6450..c9098ac 100644 --- a/docker/operator/zenoh.json5 +++ b/docker/operator/zenoh.json5 @@ -1,4 +1,10 @@ { + mode: "router", + plugins: { + rest: { // activate and configure the REST plugin + http_port: 8000 // with HTTP server listening on port 8000 + }, + }, connect: { endpoints: ["tcp/192.168.178.37:7447"], }, diff --git a/docker/robot/Dockerfile b/docker/robot/Dockerfile index fc57109..dc58a1b 100644 --- a/docker/robot/Dockerfile +++ b/docker/robot/Dockerfile @@ -17,6 +17,8 @@ RUN apt update -qq && apt install -y --no-install-recommends \ wget \ iproute2 \ net-tools \ + iputils-ping \ + netcat-traditional \ && rm -rf /var/lib/apt/lists/* # install_ros_tools diff --git a/docker/robot/zenoh.json5 b/docker/robot/zenoh.json5 index cebe5a0..d81b215 100644 --- a/docker/robot/zenoh.json5 +++ b/docker/robot/zenoh.json5 @@ -1,4 +1,10 @@ { + mode: "router", + plugins: { + rest: { // activate and configure the REST plugin + http_port: 8000 // with HTTP server listening on port 8000 + }, + }, connect: { endpoints: ["tcp/192.168.178.138:7447"], },