How do i resolve: jib not having access to dockerd on apple silicon?
See original GitHub issueeverything works on intel, but not on apple silicon
throws
jibDockerBuild: Build to Docker daemon failed, perhaps you should make sure Docker is installed and you have correct privileges to run it
Issue Analytics
- State:
- Created a year ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Understand permission requirements for Mac
Understand permission requirements for Mac. This page contains information about the permission requirements for running and installing Docker Desktop on ...
Read more >Docker and Docker Compose - JHipster
A workaround for this is to use the `--offline` flag and will fix the issue as long as jib has already pulled the...
Read more >Create docker image on Apple Silicon M1 Mac
Now the command to build should add --platform flag with the correct platform that you want to build docker image for. Example. docker...
Read more >Docker image build failed on Mac M1 chip - Stack Overflow
It looks like the dockerfile-maven-plugin uses a runtime based on x86 architecture and won't run on Apple M1 (Arm).
Read more >Building Java containers with Jib - Google Cloud
Docker build flow: Diagram showing the stages from project to Container Registry using Docker. Jib build flow: Diagram showing no intermediary stages from ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Can you run
docker save
,docker inspect
anddocker load
manually, with the same user/permissions that you use for Jib? Our team did not see issues when running Jib on M1 architecture. The most likely explanation is permissions (are you perhaps running docker commands withsudo
but not jib commands?).@elefeint @emmileaf
Very likely a permissions issue. thanks for your help