Follow the on-screen prompts to grant privileged access and enter your system password when asked.
Running brew install docker without the --cask flag installs the command-line tools. It does not include the Docker Engine (the backend required to actually run containers), because macOS cannot run Linux containers natively. download docker brew
Installing Docker via Homebrew is the preferred method for many macOS power users because it simplifies updates and management through a single command-line interface. Follow the on-screen prompts to grant privileged access
Open your terminal and run the following command to download and install the official Docker Desktop application: brew install --cask docker Use code with caution. download docker brew