aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/image-building.rst17
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/image-building.rst b/doc/image-building.rst
index c118fef99..364c22e73 100644
--- a/doc/image-building.rst
+++ b/doc/image-building.rst
@@ -84,3 +84,20 @@ Now the source type support ``url`` and ``git``. The ``build.ini`` looks like:
type = git
location = https://github.com/openstack/keystone
reference = stable/kilo
+
+To build RHEL containers, it is necessary to use the -i (include header)
+feature to include registration with RHN of the container runtime operating
+system. To obtain a RHN username/password/pool id, contact Red Hat.
+
+First create a file called rhel-include:
+
+::
+
+ RUN subscription-manager register --user=<user-name> --password=<password> \
+ && subscription-manager attach --pool <pool-id>
+
+Then build RHEL containers:
+
+::
+
+ build -b rhel -i ./rhel-include