skip to Main Content

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 ?

enter image description here

2

Answers


  1. Chosen as BEST ANSWER

    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.

         {
            "label": "Appsody: debug",
            "type": "shell",
            "command": "export DOCKER_DEFAULT_PLATFORM=linux/amd64;appsody debug --network my-microservice_default --docker-options '--env KAFKA_BOOTSTRAP_SERVERS=kafka:xxxx' -p xxxx:xxxx -p xxxx:xxxx -p xxxx:xxxx",
            "group": "build",
            "problemMatcher": []
        },
    

  2. 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 for linux/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:

    export DOCKER_DEFAULT_PLATFORM=linux/amd64
    

    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.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search