本文共 1549 字,大约阅读时间需要 5 分钟。
macos安装docker
Before we can do anything interesting with our , we need to install Docker.
在我们可以对做任何有趣的事情之前,我们需要安装Docker。
The exact installation instructions depend on your operating system.
确切的安装说明取决于您的操作系统。
The Docker Website contains detailed instructions for
Docker网站包含有关以下内容的详细说明:
I am a Mac user and I will show you the exact steps to install Docker on a Mac. If you use Windows or Linux, please refer to the instructions (I don’t have a Windows or Linux Desktop computer to try).
我是Mac用户,我将向您展示在Mac上安装Docker的确切步骤。 如果您使用Windows或Linux,请参阅说明(我没有Windows或Linux台式计算机可以尝试)。
Docker Desktop for Mac is the name of the software you need to install, and you can find it here:
Docker Desktop for Mac是您需要安装的软件的名称,您可以在这里找到它: :
Once you download the installation file, which is a bit more than 400MB in size, run it and you’ll be asked to move the Docker app to the Applications folder.
下载大小超过400MB的安装文件后,运行它,然后会要求您将Docker应用程序移至Applications文件夹。
Do that, then run the app:
这样做,然后运行该应用程序:
The first thing that happens is that it asks you to install the command line tools, and it needs your permission (and password):
发生的第一件事是,它要求您安装命令行工具,并且需要您的许可(和密码):
You will see the whale icon appearing the the Mac toolbar, initially informing you Docker Desktop is starting:
您将看到Mac工具栏上出现鲸鱼图标,最初通知您Docker Desktop正在启动:
And when it’s done, you will get a green light:
完成后,您将获得绿灯:
Now you will have the Docker command line tools installed.
现在,您将安装Docker命令行工具。
Open your terminal and run
打开终端并运行
docker version
to make sure everything worked fine.
确保一切正常。
翻译自:
macos安装docker
转载地址:http://txmgb.baihongyu.com/