HiveBrain v1.2.0
Get Started
← Back to all entries
principledockerMinor

macOS testing on Desktop: Docker containers vs. Homebrew installation

Submitted by: @import:stackexchange-devops··
0
Viewed 0 times
desktopdockerinstallationhomebrewtestingcontainersmacos

Problem

Often I test some stuff on my MacBook. Mostly database and data store related stuff (MongoDB, MariaDB, Postgres). I install the software with Homebrew and test.

I wonder if I should switch to docker? What are pros and cons Homebrew vs. Docker for testing things on local Desktop?

Solution

One of the advantages of using Docker would be that you can easily run tests with different versions of the (DB) apps, which could be quite difficult with Homebrew (some apps don't easily support multiple versions installed on the same system).

Context

StackExchange DevOps Q#1562, answer score: 4

Revisions (0)

No revisions yet.