Learn Docker:Fundamentals of Docker 19.x
上QQ阅读APP看书,第一时间看更新

Installing Docker for Desktop on macOS

Follow these steps for installation:

  1. Once you have successfully installed Docker for Desktop for macOS, please open a Terminal window and execute the following command:
$ docker version

You should see something like this:

Docker version on Docker for Desktop
  1. To see whether you can run containers, enter the following command into the terminal window and hit Enter:
$ docker run hello-world

If all goes well, your output should look something like the following:

Running Hello-World on Docker for Desktop for macOS

Next, we will install Docker on Windows.