I am trying to run node js application by using appsody. I have installed appsody using brew and made project by running appsody init nodejs-express
command.
Now when I run appsody run command
. I get the below error. I have pulled ubuntu image from docker hub ( docker pull ubuntu
) and agin run this command but no success.
Steps I did
brew install appsody/appsody/appsody
appsody list
mkdir my-project
cd my-project
appsody init nodejs-express
appsody run
Getting below error
no matching manifest for linux/arm64/v8 in the manifest list entries
What am I doing wrong ?
2
Answers
Any one who is running docker by appsody and face the above problem below command worked for me.
The gist is to concatenate your command with @Dan Lowe command.
This means that the appsody/init-controller image is not available for your native platform (which is
linux/arm64/v8
). If you click the link (earlier in this sentence) and look at the "Tags" tab on Docker Hub you’ll see this image is only being published forlinux/amd64
(Intel) and two other platforms, but not for ARM64.To make this work, you need to specify another platform. You can do that by setting this environment variable before running the application:
NOTE: Docker can do this emulation (running amd64 on ARM) using qemu, but it is sometimes unstable. You may find the containers crash. But other times it works fine; YMMV.
Another option could be to rebuild all the needed images as ARM64. To do this you’d need to identify all of the images that matter, and try to find source material to rebuild them. Sometimes those are available (e.g. on GitHub) – other times they are not published. So this may not be an option for you.