Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to run docker and kubernetes on MacOS

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly explains "how to run docker and kubernetes on MacOS". The content of the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "how to run docker and kubernetes on MacOS".

Prepare:

1, a mac computer

2. Install docker mac desktop after https://hub.docker.com/editions/community/docker-ce-desktop-mac/ download

3Query docker mac desktop provides you with the environment of docker and kuberntetes, but due to the problem of "cracked walls". So you need to modify the configuration of the container image.

{

"experimental": true

"debug": true

"registry-mirrors": [

"https://docker.mirrors.ustc.edu.cn"

]

}

4. When you are ready to start kubernetes, you will find that it is stuck. Because the image needed by kuber is cracked by the wall, you need to download an image from this address here.

Https://github.com/AliyunContainerService/k8s-for-docker-desktop

After downloading, you git checkout the corresponding version according to your own version of kubernetes, and execute the. / load_images.sh file in the directory. (I'm sure people who play git will be familiar with this part).

After waiting for all the images to be downloaded, your mac docker desktop will start kubernetes normally, but the startup process will take a little longer. You wait patiently.

Thank you for your reading, the above is the content of "how to run docker and kubernetes on MacOS". After the study of this article, I believe you have a deeper understanding of how to run docker and kubernetes on MacOS, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report