The doctl compute image create command requires an --image-url, but I can’t find what that URL looks like. If my registry is named RRR and my image name is going to be NNN, what would the URL be?
The documentation for the command says that a URL is required, but gives no examples of what one would look like. It does frequently mention URLs assigned to running containers, but my understanding is that this image doesn’t even exist yet, let alone run.
Here’s what I have for a command line so far. I’ve already run doctl registry login and querying the registry for info works.
doctl compute image create --image-distribution ubuntu-20-04-x64 --image-url ??? --region nyc1 NNN
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi there,
The --image-url is the URL from which the custom Linux virtual machine image may be retrieved.
The image it points to must be in the raw, qcow2, vhdx, vdi, or vmdk format. It may be compressed using gzip or bzip2 and must be smaller than 100 GB after being decompressed.
Example of a URL:
Hope that this helps.
Best,
Bobby
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.