Files
linuxkit/pkg/vsudd/README.md
Magnus Skjegstad ae56dd81c2 vsudd: add /pkg/vsudd with README and example yml
Signed-off-by: Magnus Skjegstad <magnus@skjegstad.com>
2017-06-06 16:32:01 +01:00

24 lines
838 B
Markdown

#### Vsudd
Vsudd is a daemon that forwards unix domain socket traffic from the host to the
guest VM via VSOCK. It can be used to control other daemons, like `containerd`
and `dockerd`, from the host. An example configuration file is available in
[examples/vsudd.yml](/examples/vsudd.yml).
After building the example, run the example with `linuxkit run hyperkit
-vsock-ports 2374 vsudd`. This will create a unix domain socket in the state
directory that map to the `containerd` control socket. The socket is called
`guest.00000946`.
If you install the `ctr` tool on the host you should be able to access the
`containerd` running in the VM:
```
$ go get -u -ldflags -s github.com/containerd/containerd/cmd/ctr
...
$ ctr -a vsudd-state/guest.00000946 list
ID IMAGE PID STATUS
vsudd 466 RUNNING
```