Last active
March 5, 2024 14:36
-
-
Save marcopeg/19c1683211acf56df38828826d932724 to your computer and use it in GitHub Desktop.
Native Docker on Mac
This file contains hidden or 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 & 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