From 062d5e8aef48e62cdc6036be8ddf1fc069d2ad04 Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Thu, 17 May 2018 16:43:23 +0200 Subject: [PATCH] Mac: phase out the Data/com.docker.driver.amd64-linux directory (#6705) --- docker-for-mac/docker-toolbox.md | 3 +-- docker-for-mac/faqs.md | 12 ++++-------- 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/docker-for-mac/docker-toolbox.md b/docker-for-mac/docker-toolbox.md index 03469f4297..bcd03b6544 100644 --- a/docker-for-mac/docker-toolbox.md +++ b/docker-for-mac/docker-toolbox.md @@ -213,8 +213,7 @@ $ echo "$dimg" ``` In this case the format is `raw` (it could have been `qcow2`), and the location -is `~Library/Containers/com.docker.docker/Data/vms/0/` (it could have been -`~/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/`). +is `~/Library/Containers/com.docker.docker/Data/vms/0/`. Then: - if your format is qcow2, run diff --git a/docker-for-mac/faqs.md b/docker-for-mac/faqs.md index 90ccd27185..ffad40c023 100644 --- a/docker-for-mac/faqs.md +++ b/docker-for-mac/faqs.md @@ -229,12 +229,9 @@ recommend the use of [Docker Toolbox](/toolbox/overview.md). ### What is the disk image? -The containers and images are stored in a _disk image_ named -`Docker.raw` or `Docker.qcow2` depending on your settings (see below). -By default, the disk image is stored in -`~/Library/Containers/com.docker.docker/Data`, in the `vms/0` -subdirectory starting with Docker for Mac 18.01, and -`com.docker.driver.amd64-linux` before. +The containers and images are stored in a _disk image_ named `Docker.raw` or +`Docker.qcow2` depending on your settings (see below). By default, the disk +image is stored in `~/Library/Containers/com.docker.docker/Data/vms/0`. ### Qcow2 or Raw? @@ -252,8 +249,7 @@ physical size, add the `-ks` switch; to see the logical size in human readable form, add `-lh`: ```bash -$ cd ~/Library/Containers/com.docker.docker/Data -$ cd vms/0 # or com.docker.driver.amd64-linux +$ cd ~/Library/Containers/com.docker.docker/Data/vms/0 $ ls -klsh Docker.raw 2333548 -rw-r--r--@ 1 akim staff 64G Dec 13 17:42 Docker.raw ```