Jump To Close Expand all Collapse all Table of contents Images 1. Configuring the Cluster Samples Operator Expand section "1. Configuring the Cluster Samples Operator" Collapse section "1. Configuring the Cluster Samples Operator" 1.1. Prerequisites 1.2. Understanding the Cluster Samples Operator Expand section "1.2. Understanding the Cluster Samples Operator" Collapse section "1.2. Understanding the Cluster Samples Operator" 1.2.1. Cluster Samples Operator’s use of management state Expand section "1.2.1. Cluster Samples Operator’s use of management state" Collapse section "1.2.1. Cluster Samples Operator’s use of management state" 1.2.1.1. Restricted network installation 1.2.1.2. Restricted network installation with initial network access 1.2.2. Cluster Samples Operator’s tracking and error recovery of image stream imports 1.3. Additional resources 1.4. Cluster Samples Operator configuration parameters Expand section "1.4. Cluster Samples Operator configuration parameters" Collapse section "1.4. Cluster Samples Operator configuration parameters" 1.4.1. Configuration restrictions 1.4.2. Conditions 1.5. Accessing the Cluster Samples Operator configuration 2. Using the Cluster Samples Operator with an alternate registry Expand section "2. Using the Cluster Samples Operator with an alternate registry" Collapse section "2. Using the Cluster Samples Operator with an alternate registry" 2.1. About the mirror registry Expand section "2.1. About the mirror registry" Collapse section "2.1. About the mirror registry" 2.1.1. Preparing the mirror host 2.1.2. Installing the CLI by downloading the binary Expand section "2.1.2. Installing the CLI by downloading the binary" Collapse section "2.1.2. Installing the CLI by downloading the binary" 2.1.2.1. Installing the CLI on Linux 2.1.2.2. Installing the CLI on Windows 2.1.2.3. Installing the CLI on macOS 2.2. Configuring credentials that allow images to be mirrored 2.3. Mirroring the OpenShift Container Platform image repository 2.4. Using Cluster Samples Operator image streams with alternate or mirrored registries 3. Understanding containers, images, and image streams Expand section "3. Understanding containers, images, and image streams" Collapse section "3. Understanding containers, images, and image streams" 3.1. Images 3.2. Containers 3.3. Image registry 3.4. Image repository 3.5. Image tags 3.6. Image IDs 3.7. Using image streams 3.8. Image stream tags 3.9. Image stream images 3.10. Image stream triggers 3.11. Additional resources 4. Creating images Expand section "4. Creating images" Collapse section "4. Creating images" 4.1. Learning container best practices Expand section "4.1. Learning container best practices" Collapse section "4.1. Learning container best practices" 4.1.1. General container image guidelines 4.1.2. OpenShift Container Platform-specific guidelines 4.2. Including metadata in images Expand section "4.2. Including metadata in images" Collapse section "4.2. Including metadata in images" 4.2.1. Defining image metadata 4.3. Creating images from source code with source-to-image Expand section "4.3. Creating images from source code with source-to-image" Collapse section "4.3. Creating images from source code with source-to-image" 4.3.1. Understanding the source-to-image build process 4.3.2. How to write source-to-image scripts 4.4. About testing source-to-image images Expand section "4.4. About testing source-to-image images" Collapse section "4.4. About testing source-to-image images" 4.4.1. Understanding testing requirements 4.4.2. Generating scripts and tools 4.4.3. Testing locally 4.4.4. Basic testing workflow 4.4.5. Using OpenShift Container Platform for building the image 5. Managing images Expand section "5. Managing images" Collapse section "5. Managing images" 5.1. Managing images overview Expand section "5.1. Managing images overview" Collapse section "5.1. Managing images overview" 5.1.1. Images overview 5.2. Tagging images Expand section "5.2. Tagging images" Collapse section "5.2. Tagging images" 5.2.1. Image tags 5.2.2. Image tag conventions 5.2.3. Adding tags to image streams 5.2.4. Removing tags from image streams 5.2.5. Referencing images in imagestreams 5.3. Image pull policy Expand section "5.3. Image pull policy" Collapse section "5.3. Image pull policy" 5.3.1. Image pull policy overview 5.4. Using image pull secrets Expand section "5.4. Using image pull secrets" Collapse section "5.4. Using image pull secrets" 5.4.1. Allowing pods to reference images across projects 5.4.2. Allowing pods to reference images from other secured registries Expand section "5.4.2. Allowing pods to reference images from other secured registries" Collapse section "5.4.2. Allowing pods to reference images from other secured registries" 5.4.2.1. Pulling from private registries with delegated authentication 5.4.3. Updating the global cluster pull secret 6. Managing image streams Expand section "6. Managing image streams" Collapse section "6. Managing image streams" 6.1. Using image streams 6.2. Configuring image streams 6.3. Image stream images 6.4. Image stream tags 6.5. Image stream change triggers 6.6. Image stream mapping 6.7. Working with image streams Expand section "6.7. Working with image streams" Collapse section "6.7. Working with image streams" 6.7.1. Getting information about image streams 6.7.2. Adding tags to an image stream 6.7.3. Adding tags for an external image 6.7.4. Updating image stream tags 6.7.5. Removing image stream tags 6.7.6. Configuring periodic importing of image stream tags 6.8. Importing images and image streams from private registries Expand section "6.8. Importing images and image streams from private registries" Collapse section "6.8. Importing images and image streams from private registries" 6.8.1. Allowing pods to reference images from other secured registries 7. Using image streams with Kubernetes resources Expand section "7. Using image streams with Kubernetes resources" Collapse section "7. Using image streams with Kubernetes resources" 7.1. Enabling image streams with Kubernetes resources 8. Triggering updates on image stream changes Expand section "8. Triggering updates on image stream changes" Collapse section "8. Triggering updates on image stream changes" 8.1. OpenShift Container Platform resources 8.2. Triggering Kubernetes resources 8.3. Setting the image trigger on Kubernetes resources 9. Image configuration resources Expand section "9. Image configuration resources" Collapse section "9. Image configuration resources" 9.1. Image controller configuration parameters 9.2. Configuring image settings Expand section "9.2. Configuring image settings" Collapse section "9.2. Configuring image settings" 9.2.1. Adding specific registries 9.2.2. Blocking specific registries 9.2.3. Allowing insecure registries 9.2.4. Configuring additional trust stores for image registry access 9.2.5. Configuring image registry repository mirroring 10. Using templates Expand section "10. Using templates" Collapse section "10. Using templates" 10.1. Understanding templates 10.2. Uploading a template 10.3. Creating an application by using the web console 10.4. Creating objects from templates by using the CLI Expand section "10.4. Creating objects from templates by using the CLI" Collapse section "10.4. Creating objects from templates by using the CLI" 10.4.1. Adding labels 10.4.2. Listing parameters 10.4.3. Generating a list of objects 10.5. Modifying uploaded templates 10.6. Using Instant App and Quickstart templates Expand section "10.6. Using Instant App and Quickstart templates" Collapse section "10.6. Using Instant App and Quickstart templates" 10.6.1. Quickstart templates Expand section "10.6.1. Quickstart templates" Collapse section "10.6.1. Quickstart templates" 10.6.1.1. Web framework Quickstart templates 10.7. Writing templates Expand section "10.7. Writing templates" Collapse section "10.7. Writing templates" 10.7.1. Writing the template description 10.7.2. Writing template labels 10.7.3. Writing template parameters 10.7.4. Writing the template object list 10.7.5. Marking a template as bindable 10.7.6. Exposing template object fields 10.7.7. Waiting for template readiness 10.7.8. Creating a template from existing objects 11. Using Ruby on Rails Expand section "11. Using Ruby on Rails" Collapse section "11. Using Ruby on Rails" 11.1. Prerequisites 11.2. Setting up the database 11.3. Writing your application Expand section "11.3. Writing your application" Collapse section "11.3. Writing your application" 11.3.1. Creating a welcome page 11.3.2. Configuring application for OpenShift Container Platform 11.3.3. Storing your application in Git 11.4. Deploying your application to OpenShift Container Platform Expand section "11.4. Deploying your application to OpenShift Container Platform" Collapse section "11.4. Deploying your application to OpenShift Container Platform" 11.4.1. Creating the database service 11.4.2. Creating the frontend service 11.4.3. Creating a route for your application 12. Using images Expand section "12. Using images" Collapse section "12. Using images" 12.1. Using images overview 12.2. Configuring Jenkins images Expand section "12.2. Configuring Jenkins images" Collapse section "12.2. Configuring Jenkins images" 12.2.1. Configuration and customization Expand section "12.2.1. Configuration and customization" Collapse section "12.2.1. Configuration and customization" 12.2.1.1. OpenShift Container Platform OAuth authentication 12.2.1.2. Jenkins authentication 12.2.2. Jenkins environment variables 12.2.3. Providing Jenkins cross project access 12.2.4. Jenkins cross volume mount points 12.2.5. Customizing the Jenkins image through source-to-image 12.2.6. Configuring the Jenkins Kubernetes plug-in 12.2.7. Jenkins permissions 12.2.8. Creating a Jenkins service from a template 12.2.9. Using the Jenkins Kubernetes plug-in 12.2.10. Jenkins memory requirements 12.2.11. Additional Resources 12.3. Jenkins agent Expand section "12.3. Jenkins agent" Collapse section "12.3. Jenkins agent" 12.3.1. Jenkins agent images 12.3.2. Jenkins agent environment variables 12.3.3. Jenkins agent memory requirements 12.3.4. Jenkins agent Gradle builds 12.3.5. Jenkins agent pod retention 12.4. Source-to-image Expand section "12.4. Source-to-image" Collapse section "12.4. Source-to-image" 12.4.1. Source-to-image build process overview 12.4.2. Additional resources 12.5. Customizing source-to-image images Expand section "12.5. Customizing source-to-image images" Collapse section "12.5. Customizing source-to-image images" 12.5.1. Invoking scripts embedded in an image 法律通告 Settings Close Language: 日本語 简体中文 English Language: 日本語 简体中文 English Format: Multi-page Single-page Format: Multi-page Single-page Language and Page Formatting Options Language: 日本語 简体中文 English Language: 日本語 简体中文 English Format: Multi-page Single-page Format: Multi-page Single-page 10.5. Modifying uploaded templates You can edit a template that has already been uploaded to your project. Procedure Modify a template that has already been uploaded: $ oc edit template <template> Previous Next