question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How do i resolve: jib not having access to dockerd on apple silicon?

See original GitHub issue

everything 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:closed
  • Created a year ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
elefeintcommented, Jul 26, 2022

Can you run docker save, docker inspect and docker 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 with sudo but not jib commands?).

0reactions
nohallcaesarscommented, Aug 1, 2022

@elefeint @emmileaf

Very likely a permissions issue. thanks for your help

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found