Install under Docker's Mac

Source: Internet
Author: User
Tags docker for mac docker toolbox

Because the Docker daemon uses Linux-specific kernel features, you cannot run Docker directly on OS X.

Docker Toolbox Installation Docker:

Https://github.com/widuu/chinese_docker/blob/master/installation/mac.md

Docker for MAC installation Docker (recommended):

Download: https://docs.docker.com/docker-for-mac/install/#download-docker-for-mac

Docker for Mac essentially creates a Linux virtual machine and then runs Docker Daemon,mac itself as a client, storing the Docker binaries, which is more convenient and faster than the previous Docker Toolbox.

Docker for Mac is a native Apple app that is installed into the /Application directory.

The installation will create /usr/local/bin a directory of docker , docker-compose docker-machine soft links, soft connections to ~/Library/Group Containers/group.com.docker/bin the directory of various types of files,

The file in this directory is actually a soft link, actually pointing /Applications/Docker.app/Contents/Resources/bin to the actual binary file under the directory.

    • Docker for MAC does not use to docker-machine manage virtual machines

    • Docker for MAC does not communicate over TCP port, using /var/tmp/docker.sock socket file communication

    • With Xhyve virtual machines, you can emulate processors of different architectures, using image files from many platforms, such as arm.

Recommended:

Official Docker Tutorial:

https://docs.docker.com/docker-for-mac/install/#install-and-run-docker-for-mac

Docker Beginner Tutorial:

Http://www.runoob.com/docker/docker-container-connection.html

Install under Docker's Mac

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.