Skip to content

Commit

Permalink
Update docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
jason-fox committed Jul 27, 2023
1 parent 66d943d commit 82459eb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/docker-ubuntu.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
```

Expand Down
3 changes: 3 additions & 0 deletions docs/iot-over-mqtt.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 82459eb

Please sign in to comment.