Kubernetes Operator - Mirror Docker Container Images to Private Docker Registry
- Overview
- Push Images from Installation TGZ
- Extract for Scan then Push Images from Installation TGZ
- Mirror the Docker Hub Registry to your Private Registry using Docker
Overview
The vFunction Kubernetes Offline Operator Installation TGZ contains all of the vFunction Docker Container Images. After adding an Image Pull Secret to the Installation Scripts, the vFunction Docker Container Images must be added to the Private Docker Registry. Then, the vFunction Kubernetes Offline Operator Installation Scripts can be run.
A number of workflows exist to add the vFunction Docker Container Images to the Private Docker Registry, including:
- Push the images from the vFunction Kubernetes Offline Installation TGZ
- Extract the images locally for scanning, tag them, then push them to the Private Docker Registry
- Using Docker, mirror the images from the RedHat Registry to the Private Docker Registry
Push Images from Installation TGZ
NOTE: This workflow uses Docker Engine. You must have Docker installed and running on your machine for this workflow to succeed.
- Download the vFunction Server Offline Installation Kubernetes TGZ and move it to the Linux machine with access to the Cluster where the vFunction Operator will be installed
- Unpack the vFunction Server Offline Installation Kubernetes TGZ
### Replace VERSION with the actual value
tar xvf vfunction-server-offline-installation-kubernetes.vVERSION.tgz - Deploy or Create-and-deploy the Image Pull Secret to the vFunction Kubernetes Installation Scripts
- Extract, load and push the vFunction Container Images to your Private Registry
### You may need to run this script with sudo in order for the "docker" commands to work
vfunction-server-for-kubernetes/offline/load-offline-images.sh -p
Extract for Scan then Push Images from Installation TGZ
NOTE: This workflow uses Docker Engine. You must have Docker installed and running on your machine for this workflow to succeed.
- Download the vFunction Server Offline Installation Kubernetes TGZ and move it to the Linux machine with access to the Cluster where the vFunction Operator will be installed
- Unpack the vFunction Server Offline Installation Kubernetes TGZ
### Replace VERSION with the actual value
tar xvf vfunction-server-offline-installation-kubernetes.vVERSION.tgz - Deploy or Create-and-deploy the Image Pull Secret to the vFunction Kubernetes Installation Scripts
- Extract the vFunction Container Images to be scanned
vfunction-server-for-kubernetes/offline/load-offline-images.sh -e - Verify and scan as needed
- Check that everything was pulled correctly
docker images | grep vfunction - Push the vFunction Container Images to your Private Registry
### You may need to run this script with sudo in order for the "docker" commands to work
vfunction-server-for-kubernetes/offline/load-offline-images.sh -p
Mirror the Docker Hub Registry to your Private Registry using Docker
NOTE: This workflow uses Docker Engine. You must have Docker installed and running on your machine for this workflow to succeed.
- Download the vFunction Server Offline Installation Kubernetes TGZ and move it to the Linux machine with access to the Cluster where the vFunction Operator will be installed
- Unpack the vFunction Server Offline Installation Kubernetes TGZ
### Replace VERSION with the actual value
tar xvf vfunction-server-offline-installation-kubernetes.vVERSION.tgz - Deploy or Create-and-deploy the Image Pull Secret to the vFunction Kubernetes Installation Scripts
- Mirror the vFunction Container Images from the Docker Hub Registry to your Private Registry
### You may need to run this script with sudo in order for the "docker" commands to work
vfunction-server-for-kubernetes/offline/load-offline-images.sh -m