Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error running make clusters on Apple M1 Pro macOS: Cannot connect to the Docker daemon #3312

Open
kahirokunn opened this issue Dec 26, 2024 · 2 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@kahirokunn
Copy link

What happened:
I attempted to run make clusters after cloning the submariner-operator repository, but encountered errors indicating that the Docker daemon could not be connected to.

Specifically, I received the following error messages:

Cannot connect to the Docker daemon at unix:///Users/user-name/.docker/run/docker.sock. Is the docker daemon running?
docker: Cannot connect to the Docker daemon at unix:///Users/user-name/.docker/run/docker.sock. Is the docker daemon running?

What you expected to happen:
I expected the make clusters command to successfully create the clusters without any errors.

How to reproduce it (as minimally and precisely as possible):

  1. Clone the submariner-operator repository:

    git clone https://github.com/submariner-io/submariner-operator
    cd submariner-operator
    
  2. Run make clusters:

    make clusters
    

Anything else we need to know?:

  • During the build process, there were warnings about platform mismatch:

    WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
    
  • My environment is an Apple M1 Pro running macOS Sequoia Version 15.2 (24C101).

  • Docker is installed and running on my machine.

Environment:

  • Diagnose information (use subctl diagnose all): N/A (could not proceed to this step)
  • Gather information (use subctl gather): N/A
  • Cloud provider or hardware configuration: Apple M1 Pro
  • Install tools: Docker Desktop for Mac (latest version compatible with Apple Silicon)
  • Others: N/A
@kahirokunn kahirokunn added the bug Something isn't working label Dec 26, 2024
@maayanf24
Copy link
Contributor

Can you try run make clusters using=ovn ?

@maayanf24 maayanf24 added the help wanted Extra attention is needed label Jan 14, 2025
@github-project-automation github-project-automation bot moved this to Backlog in Backlog Jan 14, 2025
@skitt
Copy link
Member

skitt commented Jan 14, 2025

Building on macOS isn’t supported currently — you’ll need to use a Linux VM. In particular, the base image used for the builds is only available on Linux on amd64 (it should also be available on arm64 but apparently isn’t).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
Status: Backlog
Development

No branches or pull requests

3 participants