Run opswat IoT client in docker
docker run -d --name opswat_client puteulanus/opswat_client <registration_code>
docker run -d --name opswat_client \
--mac-address 00:11:22:33:44:55 \
puteulanus/opswat_client <registration_code>
opswat use MAC address to generate device_id, but docker create container with MAC address by uniform rule.
Run ifconfig | grep ether
to get a MAC address from your device.
docker exec -it opswat_client jq -r '.' gears.json
docker exec -it opswat_client jq -r '.device_id' gears.json