Open shawaj opened 2 years ago
@marvinmarnold i tested this today on a rak unit - it does not seem to be a balena restriction per se.
The diagnostics container ran fine with both i2c-1 and i2c-7 exposed
miner container didn't - however perhaps it is due to diagnostics having privileged: true
will test further
ok @marvinmarnold confirmed - if you have privileged: true
you can have i2c-1 and i2c-7 declared and the containers will still run
if you do not have privileged: true
then the containers hang
Resolved in #414
In fact, further to this, @MuratUrsavas has shown in #414 that we don't even need to declare the i2c devices if we use privileged: true
https://github.com/NebraLtd/helium-miner-software/pull/414#discussion_r839258765
Previously docker-compose.yml files with unavailable interfaces (such as i2c-7 on a raspberry pi) would fail to build on that device.
It seems that this might have been changed/fixed in balena but we need to test this further
Relates-to: #385