Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 652 Bytes

File metadata and controls

30 lines (21 loc) · 652 Bytes

It is possible to run cc-runtime without a container manager such as docker (+containerd) or kubernetes.

Create an OCI bundle

$ bundle="/tmp/bundle"
$ rootfs="$bundle/rootfs"
$ mkdir -p "$rootfs" && (cd "$bundle" && sudo docker-runc spec)
$ sudo docker export $(sudo docker create busybox) | tar -C "$rootfs" -xvf -

Create a Clear Container

Create a container called foo:

$ sudo cc-runtime run --bundle "$bundle" foo

You should now be running a busybox shell. In a different terminal, try running:

$ sudo cc-runtime list

Or for even more details:

$ sudo cc-runtime list --cc-all