From 1308eb8fe5a7b0d3b73a9136b754a16afec34f55 Mon Sep 17 00:00:00 2001 From: functor Date: Mon, 26 Feb 2018 18:54:11 -0500 Subject: [PATCH] A minor update/hint to the docker-for-mac example documentation. Signed-off-by: functor --- examples/docker-for-mac.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/examples/docker-for-mac.md b/examples/docker-for-mac.md index a625e69ee..f4040fc19 100644 --- a/examples/docker-for-mac.md +++ b/examples/docker-for-mac.md @@ -19,6 +19,21 @@ To run the VM with a 4G disk: linuxkit run hyperkit -networking=vpnkit -vsock-ports=2376 -disk size=4096M -data-file ./metadata.json docker-for-mac ``` +Where the file `./metadata.json` should contain the desired docker daemon +configuration, for example: + +``` +{ + "docker": { + "entries": { + "daemon.json": { + "content": "{\n \"debug\" : true,\n \"experimental\" : true\n}\n" + } + } + } +} +``` + In another terminal you should now be able to access docker via the socket `guest.00000947` in the state directory (`docker-for-mac-state/` by default):