modprobe: ERROR: …/libkmod/libkmod.c:557 kmod_search_moddep() could not open moddep file '/lib/modules/4.14.68/modules.dep.bin’
Been getting the above error when trying to enable i2c via Dockerfile.
Dockerfile
FROM resin/raspberry-pi-node
COPY . /app
WORKDIR /app
RUN npm install
EXPOSE 1883
CMD modprobe i2c-dev && node /app/proccess.js