Configuring the Docker plug-in for patterns
If you created and deployed a Docker registry, provide details for the Docker registry so that it can be referenced by patterns. If needed, upload Docker Community Edition (CE) or Docker Enterprise Edition (EE) installation packages to install a different version of Docker CE or Docker EE when you deploy the Docker pattern.
Before you begin
- Docker Private Registry pattern is deprecated in Version 2.3.3.4 and later. The same feature can now be used from the Cloud Paks Docker Private Registry pattern by selecting in the Deploy page of the IBM® Cloud Pak System user interface.
- Since Docker Private Registry pattern is deprecated in Version 2.3.3.4 and later, the Docker configuration page under Pattern development is expected to be removed after the 2.3.3.4 release. This function is no longer supported. You must ignore the Docker Private Registry pattern function if you encounter it in 2.3.3.4 or later.
If your system has external network access, no extra configuration is needed to reference images on Docker Hub. If the system has external network access and no private Docker registry is referenced in the Docker system plug-in, the system connects to Docker Hub automatically.
Complete these steps only if you configured and deployed a private Docker registry. Be sure that the registry instance is in a Running state before you complete this task.
To configure the Docker registry, you must be assigned the Workload resources administration role with permission to Manage workload resources (Full permission). If this permission is View only, you can view the configuration but you cannot edit it. If you do not have this permission, the menu option is not available.
Procedure
Configure the Docker registry
Upload Docker CE installation packages
Results
Images that you add to the specified Docker registry are available for use by Docker containers that you add to patterns.
If you uploaded Docker CE or Docker EE installation files, those files are used to install the Docker CE or Docker EE when you deploy a pattern that includes Docker containers.