Skip to content

Commit 2536ae6

Browse files
authored
Merge pull request #65 from thin-edge/docs-add-notes-on-podman-settings
docs: add notes about podman gateway alias
2 parents 9435430 + e99ac3b commit 2536ae6

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

docs/FEATURES.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,16 @@ Self updates can be done by using `container` type.
5353
**Pre-requisites**
5454
5555
* container is attached to the bridge network
56-
* container has an extra host configured for the docker network (e.g. `--add-host=host.docker.internal:host-gateway`)
57-
* ssh daemon has a listener on the container bridge network (e.g. typically `172.17.0.1`)
56+
* **docker only** container has an extra host configured for the docker network (e.g. `--add-host=host.docker.internal:host-gateway`)
57+
* ssh daemon has a listener on the container bridge network (e.g. typically `172.17.0.1` for docker, though you can check by running `ifconfig` and getting the ipv4 address of the docker or podman network adapter)
5858
* Either your ssh keys have been added to the device, or allows password authentication
5959
6060
After the pre-requisites are met, you can easily access your device using the following steps:
6161
6262
1. Create a Cloud Remote Access PASSTHROUGH configuration for the device
6363
64+
**docker**
65+
6466
```sh
6567
c8y remoteaccess configurations create-passthrough \
6668
--device device01 \
@@ -69,6 +71,16 @@ After the pre-requisites are met, you can easily access your device using the fo
6971
--name device-host
7072
```
7173
74+
**podman**
75+
76+
```sh
77+
c8y remoteaccess configurations create-passthrough \
78+
--device device01 \
79+
--hostname host.containers.internal \
80+
--port 22 \
81+
--name device-host
82+
```
83+
7284
2. Connect to the device using ssh
7385
7486
```sh

0 commit comments

Comments
 (0)