listing the gcp images in the marketplace from the gcloud commandline

0 votes
How can I use the gcloud command line to list the GCP photos in the market place?

"gcloud compute images list" only displays the project's standard pictures and likely ignore the marketplace listing.
Nov 10, 2022 in GCP by Tejashwini
• 3,820 points
1,107 views

1 answer to this question.

0 votes

The cli only displays commonplace photos by default.

    --standard-images
      Show images from well-known image projects. The well known image
      projects are: centos-cloud, coreos-cloud, debian-cloud, cos-cloud,
      rhel-cloud, rhel-sap-cloud, suse-cloud, suse-sap-cloud,
      ubuntu-os-cloud, windows-cloud, windows-sql-cloud. Enabled by default,
      use --no-standard-images to disable.

You need to supply the —project parameter in order to list photographs from a specified project. Example:

# gcloud compute images list --project=click-to-deploy-images --filter="name ~ 'nginx.*'"

If you need to know more about Cloud Computing, We recommend joining Cloud Computing Online Course today.

answered Nov 10, 2022 by Ashwini
• 5,430 points

Related Questions In GCP

0 votes
1 answer

How to authenticate with the correct account in GCP from Command Line?

Hi@akhtar, You can check your accounts from the ...READ MORE

answered Sep 24, 2020 in GCP by MD
• 95,440 points
423 views
0 votes
1 answer

How to remove a rule from the security group in GCP?

Hi@akhtar, You can remove one or more rules ...READ MORE

answered Nov 9, 2020 in GCP by MD
• 95,440 points
583 views
0 votes
1 answer

How does the pricing model work in GCP cloud?

While working with Google Cloud Platform, the ...READ MORE

answered Oct 7, 2019 in GCP by Sirajul
• 59,230 points
2,547 views
0 votes
1 answer

What are the service accounts in GCP? How to create one?

The special accounts associated with a project are called the Service Accounts. The ...READ MORE

answered Oct 9, 2019 in GCP by Sirajul
• 59,230 points
671 views
0 votes
2 answers
0 votes
1 answer
0 votes
1 answer

Changing Machine Instance on GCP

There is no direct method to change ...READ MORE

answered Aug 1, 2018 in GCP by kurt_cobain
• 9,390 points
406 views
0 votes
1 answer
+1 vote
1 answer

In GCP, how to list all the resources running under project?

For a specific organization, folder, or project, ...READ MORE

answered Nov 10, 2022 in GCP by Ashwini
• 5,430 points

edited Sep 6, 2023 by Khan Sarfaraz 10,735 views
0 votes
1 answer

GCP Cloud Run Cannot Pull Image from Artifact Registry in Other Project

In Cloud Run, there are two different ...READ MORE

answered Nov 10, 2022 in GCP by Ashwini
• 5,430 points
1,897 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP