SHOW IMAGES IN IMAGE REPOSITORY¶
Lists the images in an image repository.
Syntax¶
SHOW IMAGES IN IMAGE REPOSITORY <name>
Parameters¶
name
Name of the image repository.
Access control requirements¶
A role used to execute this SQL command must have the following privileges at a minimum:
Privilege |
Object |
Notes |
---|---|---|
USAGE |
Image repository |
For instructions on creating a custom role with a specified set of privileges, see Creating custom roles.
For general information about roles and privilege grants for performing SQL actions on securable objects, see Overview of Access Control.
Output¶
The command output provides the following columns:
Column |
Description |
---|---|
|
Date and time when the image was uploaded to the image repository. |
|
Image name |
|
Image tags |
|
SHA256 digest of the image |
|
Image path ( |
Examples¶
List the images in the tutorial_repository
image repository.
SHOW IMAGES IN IMAGE REPOSITORY tutorial_db.data_schema.tutorial_repository;
+-------------------------------+-----------------------+--------+-------------------------------------------------------------------------+--------------------------------------------------------------------------+
| created_on | image_name | tags | digest | image_path |
|-------------------------------+-----------------------+--------+-------------------------------------------------------------------------+--------------------------------------------------------------------------|
| 2024-04-18 13:51:35.000 -0700 | my_echo_service_image | latest | sha256:70421668b2635b2996c6d5bc80627cf6d98c0716948b5f60d198d6411d4b4681 | tutorial_db/data_schema/tutorial_repository/my_echo_service_image:latest |
+-------------------------------+-----------------------+--------+-------------------------------------------------------------------------+--------------------------------------------------------------------------+