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 in GCP by Tejashwini
• 2,860 points
29 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.*'"
answered Nov 10 by Ashwini
• 2,760 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,380 points
199 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,380 points
290 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,190 points
1,901 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,190 points
329 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
233 views
0 votes
1 answer
0 votes
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 in GCP by Ashwini
• 2,760 points
71 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 in GCP by Ashwini
• 2,760 points
87 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