In this article, we’ll cover importing an image from the Google container registry into Virtual Labs.
Please note that an image can only be pulled into Virtual Labs
once. If you attempt to pull an image again, you will simply update the image that has already been pulled.
- First, access the Images tab within Virtual Labs, and find the + icon located in the bottom right of your window:
- After you click the + button, a dialogue box will appear as pictured below. Enter the name of the image you want to pull in the blue text area, select your container repository from the top dropdown (this should be selected by default) and select your image settings.
Important note: The image name should not contain the “gcr.io/example-dashboard” prefix (or similar), as it will be added automatically, and should exactly match the name of the image in the repository. - After you click the Pull image button, a new entry (“Pulling image …”) will appear in the Recent image pull request sidebar, indicating that the image you requested is being pulled. At this point just wait; it won’t take long!
- As soon as the image is available in the dashboard, the above entry will change its status to “Successfully pulled image …” and you will be able to find the image (either directly, or by using the search box as shown below):
- You can now use this image to create admin containers and projects.
Troubleshooting
The most common cause of an error is a typo in the image name. If an image cannot be found in the registry due to a typo, or just isn’t present in the registry, the following error message will appear in the “Recent activity” sidebar:
If the error message you’re seeing is different than the above one, and you are unable to determine the cause of the error, please contact our support who will be happy to assist with diagnosing the problem!