Where are the images list?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×
A question can only have one accepted answer. Are you sure you want to replace the current answer with this one?
You previously marked this answer as accepted. Are you sure you want to unaccept it?
If you have Tugboat installed:
tugboat images -g
The images aren’t in alphabetical order, however. So if you want to find all CentOS images, you can combine this command with grep like so:
tugboat images -g | grep -i centos
The above command gives (as of March 7 2015) the following output:
5.10 x64 (id: 6372321, distro: CentOS) 5.10 x32 (id: 6372425, distro: CentOS) 7 x64 (id: 10322623, distro: CentOS) 6.5 x64 (id: 10325922, distro: CentOS) 6.5 x32 (id: 10325992, distro: CentOS)
/v2/images except that this only shows 20 per page by default, so use
per_page= to get the list on one page. Here is the full URL:
So with curl, use something like:
curl -X GET --silent "https://api.digitalocean.com/v2/images?per_page=999" -H "Authorization: Bearer $TOKEN" |jq '.'