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 · 0 comments
Labels
bug Something isn't working

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant