
Most of the tutorials on the Internet are old versions of docker. For example, the following is the result after replacement, which is also a stepping point.

The new version of docker only needs to change the relevant json configuration of docker engine. After modification, click apply & restart, and Docker will restart and apply the configured image address. Fill in the accelerator address in the list. In the taskbar, click the Docker for mac application icon - > preferences. Since the foreign docker is really slow, you need to switch to the domestic image warehouse first, and finally use the image address of Netease. At this time, you will enter a quick start page of docker.

After installation, start the software.At present, after version iteration, docker can be used normally in m1. I don't know why the docker container can't be started after the installation is completed, but it suddenly works after clicking uninstall. Just drag the mac installation directly.First, I need to go to this website to download. Of course, the download only provides the download address of the mac. I currently use the mac as the main computer, so all demonstrations are completed on the mac. 1, Prepare dockerĪ clever woman can't make bricks without rice, so she has to install a docker on the mac first. This article will also list personal stepping points, hoping to help students who also use the mac system avoid the pit. Although configuration files can be forcibly built through sudo, inexplicable situations will occur. Tip: this tutorial is applicable to linux and mac systems, but it should be noted that the / usr/local directory in the mac system is actually closed by the mac and cannot be used for configuration. Finally, if you have any questions, welcome to discuss. This tutorial can also be used as a reference for setting up a redis cluster on a Linux docker. Although many operations are similar to Linux, there are differences and many holes.

In order to prevent readers from misunderstanding, this article is a personal practical note on setting up a redis cluster on a mac. Redis cluster configuration of docker in M1 mac preface
