1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00

Merge pull request #59830 from openshift-cherrypick-robot/cherry-pick-59693-to-enterprise-4.13

[enterprise-4.13] OCPBUGS13238: CoreOS Layering docs should have info about using the cluster pull-secret
This commit is contained in:
Michael Burke
2023-05-10 12:39:47 -04:00
committed by GitHub

View File

@@ -44,6 +44,8 @@ RUN rpm-ostree override replace https://example.com/hotfixes/haproxy-1.0.16-5.el
Instructions on how to create a Containerfile are beyond the scope of this documentation.
====
* Because the process for building a custom layered image is performed outside of the cluster, you must use the `--authfile /path/to/pull-secret` option with Podman or Buildah. Alternatively, to have the pull secret read by these tools automatically, you can add it to one of the default file locations: `~/.docker/config.json`, `$XDG_RUNTIME_DIR/containers/auth.json`, `~/.docker/config.json`, or `~/.dockercfg`. Refer to the `containers-auth.json` man page for more information.
* You must push the custom layered image to a repository that your cluster can access.
.Procedure