From b1f728062cd1dd99350c929ac0160991ef4806d1 Mon Sep 17 00:00:00 2001 From: Carl Harris Date: Wed, 14 Dec 2016 05:02:03 -0500 Subject: [PATCH] use correct default socket path Document previously specified the default location of the Docker socket as `/var/tmp/docker.sock`; the correct location seems to be `/var/run/docker.sock`. --- docker-for-mac/docker-toolbox.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-for-mac/docker-toolbox.md b/docker-for-mac/docker-toolbox.md index f879aea210..df07cd8c61 100644 --- a/docker-for-mac/docker-toolbox.md +++ b/docker-for-mac/docker-toolbox.md @@ -31,7 +31,7 @@ Here are some key points to know about Docker for Mac before you get started: * The Docker for Mac application does not use `docker-machine` to provision that VM; but rather creates and manages it directly. -* At installation time, Docker for Mac provisions an HyperKit VM based on Alpine Linux, running Docker Engine. It exposes the docker API on a socket in `/var/tmp/docker.sock`. Since this is the default location where `docker` will look if no environment variables are set, you can start using `docker` and `docker-compose` without setting any environment variables. +* At installation time, Docker for Mac provisions an HyperKit VM based on Alpine Linux, running Docker Engine. It exposes the docker API on a socket in `/var/run/docker.sock`. Since this is the default location where `docker` will look if no environment variables are set, you can start using `docker` and `docker-compose` without setting any environment variables. This setup is shown in the following diagram. @@ -121,4 +121,4 @@ You might decide that you do not need Toolbox now that you have Docker for Mac, and want to uninstall it. For details on how to perform a clean uninstall of Toolbox on the Mac, see [How to uninstall Toolbox](/toolbox/toolbox_install_mac.md#how-to-uninstall-toolbox) in the -Toolbox Mac topics. \ No newline at end of file +Toolbox Mac topics.