brew install docker docker-compose
brew install colima
colima start --cpu 4 --memory 8 --mount-type virtiofs --vm-type vz --mount-inotify
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Define variables | |
$nvmUrl = "https://github.com/coreybutler/nvm-windows/releases/latest/download/nvm-noinstall.zip" | |
$userFolder = [System.Environment]::GetFolderPath('UserProfile') | |
$nvmFolder = "$userFolder\nvm" | |
$nvmZipPath = "$userFolder\nvm-noinstall.zip" | |
$settingsFilePath = "$nvmFolder\settings.txt" | |
# Create NVM folder if it does not exist | |
if (-Not (Test-Path -Path $nvmFolder)) { | |
New-Item -ItemType Directory -Force -Path $nvmFolder |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install Docker, you can ignore the warning from Docker about using WSL | |
curl -fsSL https://get.docker.com -o get-docker.sh | |
sudo sh get-docker.sh | |
# Add your user to the Docker group | |
sudo usermod -aG docker $USER | |
sudo chmod 666 /var/run/docker.sock | |
# Install Docker Compose v2 | |
sudo apt-get update && sudo apt-get install docker-compose-plugin |