Skip to content

Commit

Permalink
Merge pull request #2499 from flowforge/backport-2498
Browse files Browse the repository at this point in the history
Update docker to use volume flag (backport #2498)
  • Loading branch information
ZJvandeWeg committed Jul 19, 2023
2 parents 73eb0a0 + 01c0087 commit 498ecae
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/device-agent/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,13 @@ sudo npm install -g @flowforge/flowforge-device-agent
npm install -g @flowforge/flowforge-device-agent
```

### Docker

Or you can chose to run the Docker container. When you do, you'll need to mount
the `device.yml` obtained when [Registering the device](./register.md):

```bash
docker run --mount /path/to/device.yml:/opt/flowforge-device/device.yml -p 1880:1880 flowforge/device-agent:latest
docker run --mount type=bind,src=/path/to/device.yml,target=/opt/flowforge-device/device.yml -p 1880:1880 flowforge/device-agent:latest
```

Or you can chose to run the Docker-Compose via a docker-compose.yml file. When you do, you'll need to mount
Expand Down

0 comments on commit 498ecae

Please sign in to comment.