Skip to content

Unable to try OpenWhisk with Docker on Apple Silicon #361

@ccaspanello

Description

@ccaspanello

Running make quick-start is not successful. I get this error:

What's Next?
  View summary of image vulnerabilities and recommendations → docker scout quickview openwhisk/invoker:nightly
host ip address: 192.168.0.33
checking required ports ... 
 ... OK
  ... preparing api-gateway configuration
pinging minio...
[+] Running 4/1
 ✔ minio 3 layers [⣿⣿⣿]      0B/0B      Pulled 2.0s  
[+] Running 3/2
 ✔ Network openwhisk_default                                                                                                                            Created0.0s 
 ✔ Container openwhisk-minio-1                                                                                                                          Created0.3s 
 ! minio The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested 0.0s 
 ... OK
[+] Running 13/13
 ✔ apigateway 12 layers [⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿]      0B/0B      Pulled                                                                                   8.3s 
   ✔ 31603596830f Pull complete                                                                                                                 0.5s 
   ✔ db77ccbebb32 Pull complete                                                                                                                 5.9s 
   ✔ 9925d2011fc0 Pull complete                                                                                                                 6.2s 
   ✔ 3e38ccb4659a Pull complete                                                                                                                 6.2s 
   ✔ 1b4c273b3f1a Pull complete                                                                                                                 6.2s 
   ✔ f3f5ff8ca1e9 Pull complete                                                                                                                 6.2s 
   ✔ 97f8e1c69937 Pull complete                                                                                                                 6.9s 
   ✔ 1427c7ca9748 Pull complete                                                                                                                 6.9s 
   ✔ ae1eba106d09 Pull complete                                                                                                                 7.3s 
   ✔ acbd0f5add83 Pull complete                                                                                                                 7.3s 
   ✔ 135e08487c1b Pull complete                                                                                                                 7.4s 
   ✔ 78d0d3f8b202 Pull complete                                                                                                                 7.4s 
generating server certificate request
generating self-signed password-less server certificate
Signature ok
subject=/C=US/ST=NY/L=Yorktown/O=OpenWhisk/CN=192.168.0.33
Getting Private key
generate keystore
Waiting till all containers are powered up... 
[+] Running 5/6
 ✘ redis Error           1.0s s 
 ✘ kafka-topics-ui Error 1.0s s 
 ✘ kafka Error           1.0s s 
 ⠏ zookeeper Pulling     1.0s s 
 ✘ kafka-rest Error      1.0s s 
 ✘ db Error              1.0s s 
no matching manifest for linux/arm64/v8 in the manifest list entries
\nIMAGE                                      STATUS
minio/minio:RELEASE.2018-07-13T00-09-07Z   Up About a minute (healthy)
\nERROR: Timed out waiting for docker services to launch...
make: *** [wait-for-docker-compose-up] Error 1

I have seen this before with other containers when running on Apple Silicon.
See: https://stackoverflow.com/a/65592942
I think something similar needs to be done.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions