Azure IoT Edge makes use of the Moby container runtime so IoT Edge modules (being Docker containers) can work together and offer logic on the edge.
Docker containers are ‘sandboxed’. This means that the logic within the containers has limited access to the environment they ‘live’ in.
By default, containers have no SUDO rights, no access to the host filesystem, and just limited network capabilities.
Though, containers can be granted elevated rights. One of these is the right to access the filesystem.
In this blog, we will see how to configure a container with access to the filesystem. To demonstrate this, a custom IoT Edge module is introduced, an IoT Edge filewatcher for CSV files:
