darwin: runtime support
This commit attemts to support containerd on darwin platform. With an external runtime shim, ctr run should work with, for instance, --runtime=io.containerd.runu.v1. An example of runtime and shim is managed under different repository (github.com/ukontainer/runu/). Signed-off-by: Hajime Tazaki <thehajime@gmail.com>
This commit is contained in:
@@ -30,8 +30,7 @@ const (
|
||||
// DefaultFIFODir is the default location used by client-side cio library
|
||||
// to store FIFOs.
|
||||
DefaultFIFODir = "/var/run/containerd/fifo"
|
||||
// DefaultRuntime is the default Darwin runtime.
|
||||
// NOTE: there is no runtime on Darwin as of now.
|
||||
// DefaultRuntime would be a multiple of choices, thus empty
|
||||
DefaultRuntime = ""
|
||||
// DefaultConfigDir is the default location for config files.
|
||||
DefaultConfigDir = "/etc/containerd"
|
||||
|
||||
Reference in New Issue
Block a user