This is a containerized environment for Clear Containers 2.1. This allows you to try docker with the cc-oci-runtime within a privileged Clear Linux docker container.
Building this container from its Dockerfile
git clone https://github.com/clearcontainers/dockerfiles cd dockerfiles/2.1/run/clearlinux sudo docker build --build-arg HTTP_PROXY=$http_proxy --build-arg HTTPS_PROXY=$https_proxy -t clearcontainers/clearlinux .
Running this container
sudo docker run -it -e HTTP_PROXY=$http_proxy -e HTTPS_PROXY=$https_proxy --privileged clearcontainers/clearlinux
The container needs to run as privileged in order to launch docker clear containers. Also the proxy settings, if any; need to be propagated into the container as the docker daemon which runs within the container will need to reach out to the image repositories.
To launch Clear Containers within this container
docker run -it busybox sh