api-v2 icon indicating copy to clipboard operation
api-v2 copied to clipboard

image "slug": null

Open jalleyne opened this issue 9 years ago • 1 comments

When using the api to generate snapshots, the name does not translate to a slug like the default (digitalocean) images. This breaks tools like docker machine (see issue: https://github.com/docker/machine/issues/3086).

jalleyne avatar Feb 26 '16 02:02 jalleyne

You need to use the image id. As per the docs (my emphasis in bold):

A uniquely identifying string that is associated with each of the DigitalOcean-provided public images. These can be used to reference a public image as an alternative to the numeric id.

So only the public images have a slug.

franklouwers avatar Oct 23 '18 15:10 franklouwers