mirror of https://github.com/containers/podman.git
Correct markdown in docs
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
parent
a58ea23b17
commit
5d522431c6
|
@ -38,9 +38,11 @@ Override the default identity of the signature.
|
|||
## EXAMPLES
|
||||
Sign the busybox image with the identity of foo@bar.com with a user's keyring and save the signature in /tmp/signatures/.
|
||||
|
||||
sudo podman image sign --sign-by foo@bar.com --directory /tmp/signatures docker://privateregistry.example.com/foobar
|
||||
```bash
|
||||
$ sudo podman image sign --sign-by foo@bar.com --directory /tmp/signatures docker://privateregistry.example.com/foobar
|
||||
|
||||
sudo podman image sign --authfile=/tmp/foobar.json --sign-by foo@bar.com --directory /tmp/signatures docker://privateregistry.example.com/foobar
|
||||
$ sudo podman image sign --authfile=/tmp/foobar.json --sign-by foo@bar.com --directory /tmp/signatures docker://privateregistry.example.com/foobar
|
||||
```
|
||||
|
||||
## RELATED CONFIGURATION
|
||||
|
||||
|
@ -52,9 +54,11 @@ where to write the signature based on the name of the originating
|
|||
registry or a default storage value unless overridden with the --directory
|
||||
option. For example, consider the following configuration file.
|
||||
|
||||
```yaml
|
||||
docker:
|
||||
privateregistry.example.com:
|
||||
sigstore: file:///var/lib/containers/sigstore
|
||||
```
|
||||
|
||||
When signing an image preceded with the registry name 'privateregistry.example.com',
|
||||
the signature is written into sub-directories of
|
||||
|
|
Loading…
Reference in New Issue