DEV Community

Cover image for Install Docker on OSX
Adam K Dean
Adam K Dean

Posted on

1 1

Install Docker on OSX

To install Docker on OSX, you're going to need to install a few prerequisites.

  1. Install Homebrew.
  2. Install VirtualBox.
  3. Install Vagrant.

Now we can finally install Docker. We also need to install boot2docker.

brew install docker
brew install boot2docker
boot2docker init
boot2docker up
export DOCKER_HOST=tcp://localhost:2375
Enter fullscreen mode Exit fullscreen mode

And test it:

docker version
Enter fullscreen mode Exit fullscreen mode

Bear in mind that if boot2docker has a different port than 2375, use the correct one, and don't put a trailing slash either.

Image of Timescale

🚀 pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applications—without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read more

Top comments (0)

👋 Kindness is contagious

Immerse yourself in a wealth of knowledge with this piece, supported by the inclusive DEV Community—every developer, no matter where they are in their journey, is invited to contribute to our collective wisdom.

A simple “thank you” goes a long way—express your gratitude below in the comments!

Gathering insights enriches our journey on DEV and fortifies our community ties. Did you find this article valuable? Taking a moment to thank the author can have a significant impact.

Okay