This repository was archived by the owner on May 6, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 70
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
.
$ 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 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
Usage
Development
Process