From 82459eb067d27ff33bd75aa202ff6563b675ac81 Mon Sep 17 00:00:00 2001 From: Jason Fox Date: Thu, 27 Jul 2023 12:55:59 +0200 Subject: [PATCH] Update docs. --- docs/docker-ubuntu.md | 10 +++++----- docs/iot-over-mqtt.md | 3 +++ 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/docs/docker-ubuntu.md b/docs/docker-ubuntu.md index 2d053b4..50824e6 100644 --- a/docs/docker-ubuntu.md +++ b/docs/docker-ubuntu.md @@ -8,21 +8,21 @@ Before you install Docker Engine for the first time on a new host machine, you n 1. Set up the repository: Update the apt package index and install packages to allow apt to use a repository over HTTPS: - ```bash + ``` sudo apt-get update sudo apt-get install ca-certificates curl gnupg lsb-release ``` 2. Add Docker’s official GPG key: - ```bash + ``` sudo mkdir -p /etc/apt/keyrings curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg ``` 3. Use the following command to set up the repository: - ```bash + ``` echo \ "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \ $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null @@ -31,13 +31,13 @@ Before you install Docker Engine for the first time on a new host machine, you n 4. Install Docker Engine Update the apt package index: - ```bash + ``` sudo apt-get update ``` 5. Install latest Docker Engine, containerd, and Docker Compose: - ```bash + ``` sudo apt-get install docker-ce docker-ce-cli containerd.io docker-compose-plugin ``` diff --git a/docs/iot-over-mqtt.md b/docs/iot-over-mqtt.md index 139758f..9a8e656 100644 --- a/docs/iot-over-mqtt.md +++ b/docs/iot-over-mqtt.md @@ -308,6 +308,9 @@ docker run -it --rm --name mqtt-subscriber \ The terminal will then be ready to receive events +> **Note:** There is no change on whilst running this command. The on screen output +> will only respond once you have completed the next step. + ### Start an MQTT Publisher (2nd Terminal) A sensor sending northbound measurements will publish to those measurements to the MQTT Broker to be passed on to any