From e49fa92f03031f1a2ceb8efe279a00609b0980f1 Mon Sep 17 00:00:00 2001 From: Steve Milner Date: Mon, 20 Mar 2017 12:00:40 -0400 Subject: docs: Add basic system container dev docs --- BUILD.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'BUILD.md') diff --git a/BUILD.md b/BUILD.md index 8bafb73ff..e6541ace3 100644 --- a/BUILD.md +++ b/BUILD.md @@ -42,3 +42,22 @@ The progress of the build can be monitored with: Once built, the image will be visible in the Image Stream created by the same command: oc describe imagestream openshift-ansible + +## Build the Atomic System Container + +A system container runs using runC instead of Docker and it is managed +by the [atomic](https://github.com/projectatomic/atomic/) tool. As it +doesn't require Docker to run, the installer can run on a node of the +cluster without interfering with the Docker daemon that is configured +by the installer itself. + +The first step is to build the [container image](#build-an-openshift-ansible-container-image) +as described before. The container image already contains all the +required files to run as a system container. + +Once the container image is built, we can import it into the OSTree +storage: + +``` +atomic pull --storage ostree docker:openshift/openshift-ansible:latest +``` -- cgit v1.2.1