Correct markdown in docs

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
Abhijeet Kasurde 2023-05-18 16:44:24 -07:00
parent a58ea23b17
commit 5d522431c6
1 changed files with 6 additions and 2 deletions

View File

@ -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