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

Fails to open on macOS (Apple Silicon) #162

Open
tubbo opened this issue Sep 20, 2024 · 6 comments
Open

Fails to open on macOS (Apple Silicon) #162

tubbo opened this issue Sep 20, 2024 · 6 comments

Comments

@tubbo
Copy link

tubbo commented Sep 20, 2024

I tried to install Container Desktop on an Apple Silicon machine, but I got an alert saying "This application is damaged, you should move it to the trash" when I tried opening it from either the installed /Applications directory or the disk image itself.

@iongion
Copy link
Owner

iongion commented Sep 20, 2024

Two things you should be aware

  • The mac app is not digitally signed, I can't afford it
  • Verify the DMG you downloaded against the checksum that I provided, maybe you have an incomplete download or just re-download and try again

I just checked on my m2 mac

image

@iongion
Copy link
Owner

iongion commented Sep 20, 2024

There is a guide here on how to run non-digitally signed apps https://github.com/iongion/container-desktop/blob/main/USAGE.md but I don't advise. Better for you would be to just clone the repo and build yourself your own dmg.

@skull-squadron
Copy link

skull-squadron commented Sep 20, 2024

xattr -dr com.apple.quarantine /Applications/Container\ Desktop.app

One problem solved, but it still doesn't do anything even after installing the podman batteries that weren't included.

"Connection skipped - please check the settings or install the requirements"

They should've vendored podman in the app because it doesn't Just Work™. PITA!

@iongion
Copy link
Owner

iongion commented Sep 25, 2024

@skull-squadron I understand your frustration, but I cannot at this point, it is too much for a single person to handle. Too many operating systems, cpu architectures and bundling/deployment formats. A code signing certificate is not affordable for this project. You can always use other solutions that can offer you all you need.

@riveryc
Copy link

riveryc commented Oct 1, 2024

@iongion would you mind to share what should we do to make it work?
I'm running into the same issue:
please check the settings or install the requirements

But I have no where to check the error logs and don't even see any information, and it flashed back to this page. 😂
I don't know what is required to install...

@iongion
Copy link
Owner

iongion commented Oct 1, 2024

It is in the USAGE.md
Open a terminal and paste

xattr -d com.apple.quarantine /Applications/Container\ Desktop.app - This is to avoid the need for digital signature, sorry, not able to afford the subscription right now

As for requirements, on mac, depends on what you want, if you want both Podman and Docker, you have to install them.

  1. Install homebrew - See https://brew.sh/
  2. Podman - Go to podman page and download it, see here https://podman.io/docs/installation#macos (skip to 3 if you only want Docker)
  3. Docker - Best experience is to install docker command line wrappers from homebrew and then colima and you are done, no need for Docker Desktop

TLDR

brew install docker
brew install podman # Optional if you only want to Docker
brew install colima
colima start

See more about colima here https://github.com/abiosoft/colima
After colima started, you can re-connect in Container Desktop and profit

I will soon write some guides for easy provisioning, automation of all these.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants