Cloud API Overview > @adpt/cloud > docker > NameTagString
docker.NameTagString type
A string reference to a Docker image that contains a repo name, and may contain an optional registry and optional tag.
Signature:
export declare type NameTagString = string;
Remarks
This is a string that references a Docker image. It's in the form of one of:
[registry/]repo
[registry/]repo:tag
registry
- (optional) The hostname or hostname:port of a Docker registry where the repo is located. If not provided, depending on context, either the official default Docker registry may be assumed or the image may just be present locally and not on any registry.
repo
- The more precise name for what's commonly referred to as an image name. It may include 0 or more slashes to denote namespaces.
tag
- A tag string identifying a version of image within the repo.
Examples:
alpine
ubuntu:16.04