Our great sponsors
-
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.
Install Vagrant binaries or use Homebrew
#!/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
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.
Related posts
- OrbStack – Docker Desktop and Colima Alternative for macOS
- Rails-docker-box, or developing Rails within a dockerized environment
- Docker desktop (Windows) alternatives?
- Ask HN: Please recommend how to manage personal serverss
- Is there any place where I can download an already configured Virtual machine? For example with Linux Ubuntu or Windows 10 preinstalled?