Skip to content

Commit

Permalink
Merge pull request #2007 from mtrmac/colons
Browse files Browse the repository at this point in the history
Clarify how `oci` and `oci-archive` parse colons
  • Loading branch information
vrothberg committed Jun 22, 2023
2 parents cc410bc + 5c1c3af commit dc6d2c8
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions docs/containers-transports.5.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,17 @@ The _algo:digest_ refers to the image ID reported by docker-inspect(1).

### **oci:**_path[:reference]_

An image compliant with the "Open Container Image Layout Specification" at _path_.
Using a _reference_ is optional and allows for storing multiple images at the same _path_.
An image in a directory structure compliant with the "Open Container Image Layout Specification" at _path_.

_Path_ terminates at the first `:` character; any further `:` characters are not separators, but a part of _reference_.
Specify a _reference_ to allow storing multiple images within the same _path_.

### **oci-archive:**_path[:reference]_

An image compliant with the "Open Container Image Layout Specification" stored as a tar(1) archive at _path_.
An image in a tar(1) archive with contents compliant with the "Open Container Image Layout Specification" at _path_.

_Path_ terminates at the first `:` character; any further `:` characters are not separators, but a part of _reference_.
Specify a _reference_ to allow storing multiple images within the same _path_.

### **ostree:**_docker-reference[@/absolute/repo/path]_

Expand Down

0 comments on commit dc6d2c8

Please sign in to comment.