Skip to content

Instantly share code, notes, and snippets.

@mcastelino
Last active February 15, 2017 18:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mcastelino/39743eb683d095f3e3644a8e57a249cc to your computer and use it in GitHub Desktop.
Save mcastelino/39743eb683d095f3e3644a8e57a249cc to your computer and use it in GitHub Desktop.
Clear Containers 2.1 with ciao-down
ciao-down is a small utility for setting up a VM that contains everything you need to run Clear Containers inside a virtual machine.
0. Install go 1.7 or greater on your host system
1. go get github.com/01org/ciao/testutil/ciao-down
2. $GOPATH/bin/ciao-down prepare -vmtype clearcontainers
3. $GOPATH/bin/ciao-down connect
Now you can try clear containers inside the VM. You can also build and replace any component you choose.
If you want to buld clear containers from sources
git clone https://github.com/01org/cc-oci-runtime
cd cc-oci-runtime
./autogen.sh --with-cc-kernel=/usr/share/clear-containers/vmlinux.container --with-cc-image=/usr/share/clear-containers/clear-containers.img
make
make check
make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment