You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After using the new makefile to build api-engine, network cannot be created using frontend API call and an error arises qemu-x86_64: Could not open '/lib64/ld-linux-x86-64.so.2': No such file or directory in api-engine container.
It seems related to the updated makefile in #519.
In the old makefile, the platform for arm64 arch was linux/amd64 in line 319.
In the updated makefile, the platform is linux/$(ARCH) in line 214.
As the $(ARCH) value is arm64 in m1 OS, it is different from the old amd64 platform. It seems someone also had this issue, and it was solved by using linux/amd64 for m1 arch. Source
Update: I manually changed the platform value to linux/amd64 on m1 and network can be created without error.
The text was updated successfully, but these errors were encountered:
If current arch is arm64, use docker platform linux/amd64,
still use linux/$(ARCH) platform for all other arches.
Signed-off-by: xichen1 <xichen.pan@gmail.com>
After using the new makefile to build api-engine, network cannot be created using frontend API call and an error arises
qemu-x86_64: Could not open '/lib64/ld-linux-x86-64.so.2': No such file or directory
in api-engine container.It seems related to the updated makefile in #519.
In the old makefile, the platform for arm64 arch was
linux/amd64
in line 319.In the updated makefile, the platform is
linux/$(ARCH)
in line 214.As the
$(ARCH)
value isarm64
in m1 OS, it is different from the oldamd64
platform. It seems someone also had this issue, and it was solved by usinglinux/amd64
for m1 arch. SourceUpdate: I manually changed the platform value to
linux/amd64
on m1 and network can be created without error.The text was updated successfully, but these errors were encountered: