-
Notifications
You must be signed in to change notification settings - Fork 82
Open
Labels
type/enhancementNew feature or requestNew feature or request
Description
In ARM server or Docker Desktop of macOS with Apple Chip, the current console container will fail to run due to it's x86 arch only.
The fix is vesoft-inc/nebula-console#189 .
Before that, one mitigation could be to add platform: linux/amd64
for the console container like, while this only fixed the case we have docker desktop(not for arm64 linux servers)
console:
image: vesoft/nebula-console:nightly
# this line------------
platform: linux/amd64
# this line------------
entrypoint: ""
command:
- sh
- -c
- |
for i in `seq 1 60`;do
var=`nebula-console -addr graphd -port 9669 -u root -p nebula -e 'ADD HOSTS "storaged0":9779,"storaged1":9779,"storaged2":9779'`;
if [[ $$? == 0 ]];then
break;
fi;
sleep 1;
echo "retry to add hosts.";
done && tail -f /dev/null;
depends_on:
- graphd
networks:
- nebula-net
For ARM linux servers, we could ignore this error and perform ADD HOSTS
from binary console by our own.
Metadata
Metadata
Assignees
Labels
type/enhancementNew feature or requestNew feature or request