Skip to content

Commit

Permalink
add step to pull in the latest image
Browse files Browse the repository at this point in the history
  • Loading branch information
reubenmiller committed Oct 8, 2024
1 parent c5c7b0b commit 0ca3285
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 9 deletions.
12 changes: 9 additions & 3 deletions docs/CONTAINER_OPTION1.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,13 @@

### Initial setup

1. Create a docker volume which will be used to store the device certificate, and a volume for the tedge and mosquitto data
1. Pull the latest image

```sh
docker pull ghcr.io/thin-edge/tedge-container-bundle
```

2. Create a docker volume which will be used to store the device certificate, and a volume for the tedge and mosquitto data

```sh
export TEDGE_C8Y_URL=example.c8y.cumulocity.com
Expand All @@ -18,7 +24,7 @@
docker volume create tedge
```

2. Create a new device certificate
3. Create a new device certificate

```sh
docker run --rm -it \
Expand All @@ -28,7 +34,7 @@
tedge cert create --device-id "<mydeviceid>"
```

3. Upload the device certificate to Cumulocity IoT
4. Upload the device certificate to Cumulocity IoT

```sh
docker run --rm -it \
Expand Down
12 changes: 9 additions & 3 deletions docs/CONTAINER_OPTION2.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,13 @@

### Initial setup

1. Create a docker volume which will be used to store the device certificate, and a volume for the tedge and mosquitto data
1. Pull the latest image

```sh
docker pull ghcr.io/thin-edge/tedge-container-bundle
```

2. Create a docker volume which will be used to store the device certificate, and a volume for the tedge and mosquitto data

```sh
export TEDGE_C8Y_URL=example.c8y.cumulocity.com
Expand All @@ -18,7 +24,7 @@
docker volume create tedge
```

2. Create a new device certificate
3. Create a new device certificate

```sh
docker run --rm -it \
Expand All @@ -28,7 +34,7 @@
tedge cert create --device-id "<mydeviceid>"
```

3. Upload the device certificate to Cumulocity IoT
4. Upload the device certificate to Cumulocity IoT

```sh
docker run --rm -it \
Expand Down
12 changes: 9 additions & 3 deletions docs/CONTAINER_OPTION3.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,13 @@

### Initial setup

1. Create a docker volume which will be used to store the device certificate, and a volume for the tedge and mosquitto data
1. Pull the latest image

```sh
docker pull ghcr.io/thin-edge/tedge-container-bundle
```

2. Create a docker volume which will be used to store the device certificate, and a volume for the tedge and mosquitto data

```sh
export TEDGE_C8Y_URL=example.c8y.cumulocity.com
Expand All @@ -20,7 +26,7 @@
docker volume create tedge
```

2. Create a new device certificate
3. Create a new device certificate

```sh
docker run --rm -it \
Expand All @@ -30,7 +36,7 @@
tedge cert create --device-id "<mydeviceid>"
```

3. Upload the device certificate to Cumulocity IoT
4. Upload the device certificate to Cumulocity IoT

```sh
docker run --rm -it \
Expand Down

0 comments on commit 0ca3285

Please sign in to comment.