Cli: hardware id generate error on Docker ubuntu container
yongqianme opened this issue · comments
omniedge version
0.2.3
Error message
root@628637c93e55:/# omniedge join
INFO[0000] You are in mode: prod
ERROR[2022-01-17T11:39:47] Fail to generate hardware id, err is invalid UUID (got 0 bytes)
root@628637c93e55:/# uname -a
Linux 628637c93e55 4.19.76-linuxkit https://github.com/omniedgeio/omniedge-cli/pull/1 SMP Tue May 26 11:42:35 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
same Error "Fail to generate hardware id, err is invalid UUID (got 0 bytes)" on KVM Debian 11
fixed in the repo: https://github.com/omniedgeio/omniedge-docker
@yongqianme can you please share how exactly is it fixed? I'm running my own docker and have the same error with v0.2.4
@yongqianme can you please share how exactly is it fixed? I'm running my own docker and have the same error with v0.2.4
Hi , we add a line cp /proc/sys/kernel/random/uuid /etc/machine-id
in the entry point