mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-19 17:26:28 +00:00
A minor update/hint to the docker-for-mac example documentation.
Signed-off-by: functor <meehow@gmail.com>
This commit is contained in:
parent
f6c7422142
commit
1308eb8fe5
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user