Skip to content

Instantly share code, notes, and snippets.

@marcopeg
Last active March 5, 2024 14:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marcopeg/19c1683211acf56df38828826d932724 to your computer and use it in GitHub Desktop.
Save marcopeg/19c1683211acf56df38828826d932724 to your computer and use it in GitHub Desktop.
Native Docker on Mac
# Install Docker & Container runtime
brew install docker-credential-helper docker
brew install colima
docker -v
# Install Docker-Compose
brew install docker-compose
mkdir -p ~/.docker/cli-plugins
ln -sfn /opt/homebrew/opt/docker-compose/bin/docker-compose ~/.docker/cli-plugins/docker-compose
docker compose -v
# Install CTOP
brew install ctop
ctop -v
# Start/Stop the container runtime
brew services start colima
brew services stop colima
# Restart Colima with different CPU / Memory settings
colima stop
colima start --cpu 4 --memory 8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment