Skip to content

Latest commit

 

History

History
44 lines (38 loc) · 1.68 KB

install_manual_macos.md

File metadata and controls

44 lines (38 loc) · 1.68 KB

Install on MacOS

Container Engine

There are different container engine. But we recommend to use Docker.

Download

Go to Docker official website to download: Get Docker

Install

Find the Docker.dmg on the laptop. Install it as a common Mac software.

Verify the installation

Run the hello-world official image to verify the installation.

docker run hello-world

This command downloads a test image and runs it in a container. When the container runs, it prints a message and exits.

Start Docker

Click Docker Desktop app to start.

Kubernetes

To use kubernetes on the laptop, we can install minikube, a local kubernetes.

Download

Up-to-date version

Go to minikube official website to download: Minikube

Older version

NOTE: this is the recommended route for users in China. The minikube image repository for the up-to-date version is not correct, which leads to minikube start failure.

Command to install minikube older version (1.25.2)

curl -o minikube -L https://registry.npmmirror.com/-/binary/minikube/v1.25.2/minikube-linux-amd64

Install

Install you downloaded minikube to /usr/local/bin:

sudo install minikube /usr/local/bin/minikube

Verify the installation

minikube version