mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-04-04 22:43:25 +00:00
Note that this is not the latest (which was 95efd45db073 at time of writing) but the next commit 6428b4bad0c2 merges "Port ctr to use client package" breaks the use of `ctr run --runtime-config` (by removing that option). This contains https://github.com/containerd/containerd/pull/954 which was causing some services to fail to start. All previous uses of15541037b9are updated to5749f2e9e6. Signed-off-by: Ian Campbell <ian.campbell@docker.com>
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.
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