Docker for Development on MacOS

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • Vagrant

    Vagrant is a tool for building and distributing development environments.

  • Install Vagrant binaries or use Homebrew

  • docker-install

    Docker installation script

  • #!/usr/bin/env bash echo '--- SYSTEM UPDATE ---' sudo apt update sudo apt install ca-certificates curl gnupg lsb-release net-tools echo '--- INSTALL DOCKER ---' curl -fsSL https://get.docker.com | sudo sh sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose sudo chmod +x /usr/local/bin/docker-compose echo '--- SETUP DOCKER SYSTEMD ---' sudo mkdir /etc/systemd/system/docker.service.d/ cat <>/tmp/docker.conf [Service] ExecStart= ExecStart=/usr/bin/dockerd EOF sudo mv /tmp/docker.conf /etc/systemd/system/docker.service.d/docker.conf echo '--- SETUP DOCKERD ---' cat <>/tmp/daemon.json { "hosts": [ "tcp://0.0.0.0:2375", "unix:///var/run/docker.sock" ] } EOF sudo mv /tmp/daemon.json /etc/docker/daemon.json echo '--- RELOAD DOCKERD ---' sudo systemctl daemon-reload sudo systemctl restart docker echo '--- SETUP DOCKER PERMISSIONS---' sudo usermod -aG docker $USER

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • HomeBrew

    🍺 The missing package manager for macOS (or Linux)

  • Using Homebrew for development environment configuration is boring. Development environment should be temporary and be reproducible whithin couple of minutes. Yes, it is about hosting dotfiles and writing scripts which do support binaries installation. For variety of versions. So modern solution is about using containers. There are many ways to use containers for development and their orchestration. What is a rapid solution for lazy devs? The Docker Desktop. Easy, install and run.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts