📅  最后修改于: 2023-12-03 14:40:49.260000             🧑  作者: Mango
Docker is a powerful platform for developing, testing and deploying applications in containers. In this tutorial, we will guide you through the process of installing Docker on Mac M1 using Shell/Bash.
Open Terminal on your Mac M1.
Update Homebrew using the following command:
brew update
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
echo 'export PATH="/opt/homebrew/bin:$PATH"' >> ~/.bash_profile
source ~/.bash_profile
brew install docker
docker run hello-world
brew install docker-compose
Congratulations! You have successfully installed Docker and Docker Compose on your Mac M1 using Shell/Bash. Now, you are ready to create and deploy applications in a containerized environment.