A Solution To Run Docker in Mac Using Vagrant

Abidul Ramadan
Geek Culture
Published in
2 min readAug 15, 2021

--

All of us developers using Mac in the 20th century have been facing a big issue. [ DOCKER OVER MAC ]

The Issue

Photo by Sebastian Herrmann on Unsplash

The file system on MAC just doesn't like the way docker works and it makes syncing files between your mac and the docker container very slow.

I’ve talked about a certain solution before in this article:

In this blog, I would like to suggest a slightly better option.

The solution is to run vagrant with docker inside.

Vagrant proved to be a very good candidate for running docker over it in mac. Vagrant will run over a VirtualBox which is set up in a way that is more efficient than just setting up a virtual box by yourself.

The steps to do this are very minimal.

Steps

  • Setup vagrant on your docker-machine
    - Setup vagrant…

--

--