Skip to content
This repository was archived by the owner on May 6, 2020. It is now read-only.

Running standalone

James O. D. Hunt edited this page Oct 12, 2017 · 2 revisions

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