Docker” is damaged and can’t be opened. You should move it to the Bin

Hello I am trying to download and install the Docker for MacBook pro - however every time the download completes and i try to install i receive the following error message, can anyone assist or provide a solution to this please?

" “Docker” is damaged and can’t be opened. You should move it to the Bin.

I’ve tried uninstalling, removing all previous docker files etc, then downloading and reinstalling everything nothing seems to work!

Put Docker.app in the Applications folder and then install it using CLI
sudo /Volumes/Docker/Docker.app/Contents/MacOS/install

9 Likes

This won’t even work as the error happens during the second step of installation itself where

" 1. Double-click Docker.dmg to open the installer, then drag the Docker icon to the Applications folder. By default, Docker Desktop is installed at /Applications/Docker.app."

In this step just before installation to finish the persistent error message props out

image

Here’s a screen recording link for reference

@evox95 recommended installing from command line. That wouldn’t have the double click step. There are two tabs in the linked documentation. Choose “Install from command line”, but I’m not sure why that would work better.

Make sure you download the the installer for the right architecture. In your video the filesize is 610MB. When I download it for the Apple chip, it is less then 500MB (4.28 or 4.27) and when I download it for the intell chip, it is still less then 600MB. Which one did you download?

1 Like

Nope the file size is 488.3mb and the version is v4.28.0

Also, I’ve fixed this problem myself it was the MacOS which was not letting the setup to finish and in my observation, I found out that the checksum for the docker-engine in the setup was somehow not matching wich is why MacOS was blocking the whole installation steps of solving the problem for me was

  • Update the existing rosetta by running softwareupdate --install-rosetta
  • Running brew update and brew cleanup for updating used packages and removing unnecessary ones.
  • Also I’ve installed docker-engine using brew install docker
  • Install the docker-desktop by double click method.

These steps worked for me.

7 Likes

It wasn’t in the video
video-600MB

But thank you for sharing your solution

1 Like

Thank you. This worked for me :slight_smile:

1 Like

What worked for me:

reinstall docker-desktop
let it run in the backgroung while ignoring the warnings.
after couple of minutes docker-desktop showed a warning that it requires to repair the docker bin and volumes location.
after clicking on repair the problem was solved

2 Likes

6 posts were split to a new topic: Malware detected on macOS (duplicate)

The topic was closed because the new comments were about a completely different issue

If after reading all the comments here and checking th screenshots you are absolutely sure you indeed have the same issue, please open a new topic with a descriptive title and also leave a detailed description in your first post.

Let’s help everyone find the right solution to their problem by keeping the forum clean.