Install Docker on Mac
Installing Docker on a Mac is very easy because Docker provides a nice app called Docker Desktop. 🍎
Step 1: Download Docker Desktop
- Go to the official Docker website.
- Click the download button for Mac.
- Note: Choose the correct version for your Mac (Intel chip or Apple Silicon/M1/M2/M3).
Step 2: Install the App
- Once the download is finished, double-click the
.dmgfile. - Drag the Docker icon into your Applications folder.
Step 3: Start Docker
- Open your Applications folder and double-click Docker.
- You might see a little whale icon in your top menu bar. Wait for it to stop moving—this means Docker is ready!
Step 4: Verify the installation
Open your terminal and type:
docker --versionIf you see a version number, congratulations! You have successfully installed Docker on your Mac. 🚀
Summary
- Download Docker Desktop from the website.
- Move it to your Applications folder.
- Run the app and wait for the whale icon to stabilize.
- Test it in your terminal.