Skip to content

Commit

Permalink
Added example for using image digest in the docker run command
Browse files Browse the repository at this point in the history
Signed-off-by: Shoubhik Bose <[email protected]>

Added explanation for the example with image's digest ( as per @thaJeztah 's comment

Signed-off-by: Shoubhik Bose <[email protected]>

Wrapped to ~80 chars

Signed-off-by: Shoubhik Bose <[email protected]>
  • Loading branch information
sbose78 committed Jun 13, 2016
1 parent 50c7bca commit e6e8c4d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/reference/run.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,11 @@ Images using the v2 or later image format have a content-addressable identifier
called a digest. As long as the input used to generate the image is unchanged,
the digest value is predictable and referenceable.

The following example runs a container from the `alpine` image with the
`sha256:9cacb71397b640eca97488cf08582ae4e4068513101088e9f96c9814bfda95e0` digest:

$ docker run alpine@sha256:9cacb71397b640eca97488cf08582ae4e4068513101088e9f96c9814bfda95e0 date

## PID settings (--pid)

--pid="" : Set the PID (Process) Namespace mode for the container,
Expand Down

0 comments on commit e6e8c4d

Please sign in to comment.