container ID

The long unique hexadecimal identifier Docker gives every container and image; commands accept a short prefix of it.

In more detail

ID is short for identifier. docker ps shows the first 12 characters. For images, the ID is a SHA-256 hash of the image content, so it changes whenever that content changes. Names and tags are easier for people; IDs are exact.

Related terms

Taught in

References