A minor update/hint to the docker-for-mac example documentation.

Signed-off-by: functor <meehow@gmail.com>
This commit is contained in:
functor 2018-02-26 18:54:11 -05:00
parent f6c7422142
commit 1308eb8fe5

View File

@ -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):