Merge pull request #2931 from functor/master

A minor update/hint to the docker-for-mac example documentation.
This commit is contained in:
Rolf Neugebauer 2018-02-27 10:15:48 +00:00 committed by GitHub
commit 8999d8aada
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 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 In another terminal you should now be able to access docker via the
socket `guest.00000947` in the state directory socket `guest.00000947` in the state directory
(`docker-for-mac-state/` by default): (`docker-for-mac-state/` by default):