Skip to content

Commit 1085424

Browse files
committed
docs: minor soci push fix
Signed-off-by: Olly Pomeroy <[email protected]>
1 parent f2eb68b commit 1085424

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/soci.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ See https://github.com/awslabs/soci-snapshotter to learn further information.
2121
## Enable SOCI for `nerdctl run` and `nerdctl pull`
2222

2323
| :zap: Requirement | nerdctl >= 1.5.0 |
24-
| ----------------- |------------------|
24+
| ----------------- | ---------------- |
2525

2626
- Run `nerdctl` with `--snapshotter=soci`
2727
```console
@@ -38,10 +38,10 @@ For images that already have SOCI indices, see https://gallery.ecr.aws/soci-work
3838
## Enable SOCI for `nerdctl push`
3939

4040
| :zap: Requirement | nerdctl >= 1.6.0 |
41-
| ----------------- |------------------|
41+
| ----------------- | ---------------- |
4242

4343
- Push the image with SOCI index. Adding `--snapshotter=soci` arg to `nerdctl pull`, `nerdctl` will create the SOCI index and push the index to same destination as the image.
4444
```console
45-
nerdctl push --snapshotter=soci push --soci-span-size=2097152 --soci-min-layer-size=20971520 public.ecr.aws/my-registry/my-repo:latest
45+
nerdctl push --snapshotter=soci --soci-span-size=2097152 --soci-min-layer-size=20971520 public.ecr.aws/my-registry/my-repo:latest
4646
```
4747
--soci-span-size and --soci-min-layer-size are two properties to customize the SOCI index. See [Command Reference](https://github.com/containerd/nerdctl/blob/377b2077bb616194a8ef1e19ccde32aa1ffd6c84/docs/command-reference.md?plain=1#L773) for further details.

0 commit comments

Comments
 (0)