Search code examples
dockeriotivity

Iotivity with docker


I am trying to run IOTivity under Docker. I've just installed Docker on a Raspberry Pi and started it. After that I pulled the IoTivity image via Docker Hub as "iotivity/resource directory".

docker stack deploy -c docker-compose.yml iotivity
docker service ls
docker ps -a

I just followed the link https://wiki.iotivity.org/docker and followed the steps. When I run docker ps -a it doesn't show anything as in the output. The third step doesn't give any output either.


Solution

  • IoTivity which is in the docker hub is the IoTivity Cloud. Not the device side. If you want to run the cloud, you need more then just the resource directory, see this documentation please: https://wiki.iotivity.org/docker

    If you want to run IoTivity on the device, please see: https://iotivity.org/getting-started