DEV Community

Cover image for How to Install Docker Desktop on macOS with a Package Manager
junian
junian

Posted on • Originally published at junian.net on

How to Install Docker Desktop on macOS with a Package Manager

Docker is a useful piece of software.
Usually, Developers use it for the development and deployment of their apps.

But we as a user also can benefit from Docker, especially if we want to install and use web-based apps.

Enough intro, let's get started.

I recommend installing the Homebrew package manager first on your macOS. If you don't know how I already wrote it here.

Once you have Homebrew on your Mac, you can install Docker Desktop from the Terminal.

brew install --cask docker
Enter fullscreen mode Exit fullscreen mode

Once finished, the Docker Desktop will be installed in /Applications/Docker.app.
Open the app and finish the setup.

Now let's verify if the Docker running properly.
I usually like to test it by running a basic HTTP server with nginx.

docker run -p 8088:80 nginx
Enter fullscreen mode Exit fullscreen mode

Once finished, open a web browser and visit http://localhost:8088/.

If you see a Welcome to nginx! message then everything is working as expected.

Video Tutorial

I made a video based on what I wrote here.
I hope it can help you to visualize the process.

Subscribe to Junian Dev YouTube Channel

Conclusion

That's all I can write today.

Thanks for reading and see you again!

References

  • Docker: Accelerated Container Application Development

Image of AssemblyAI

Automatic Speech Recognition with AssemblyAI

Experience near-human accuracy, low-latency performance, and advanced Speech AI capabilities with AssemblyAI's Speech-to-Text API. Sign up today and get $50 in API credit. No credit card required.

Try the API

Top comments (0)

AWS Security LIVE!

Tune in for AWS Security LIVE!

Join AWS Security LIVE! for expert insights and actionable tips to protect your organization and keep security teams prepared.

Learn More

👋 Kindness is contagious

Engage with a sea of insights in this enlightening article, highly esteemed within the encouraging DEV Community. Programmers of every skill level are invited to participate and enrich our shared knowledge.

A simple "thank you" can uplift someone's spirits. Express your appreciation in the comments section!

On DEV, sharing knowledge smooths our journey and strengthens our community bonds. Found this useful? A brief thank you to the author can mean a lot.

Okay