Skip to content
This repository was archived by the owner on Jan 15, 2026. It is now read-only.

Commit af0a9b7

Browse files
committed
Rename oci-image-tool create to oci-image-tool create-bundle
`oci-image-tool create` is confusing, rename it to `create-bundle`, and we may have `create-layer` in future which is infligh in and we may have `create-image` in future. Signed-off-by: Lei Jitang <leijitang@huawei.com>
1 parent 386cd33 commit af0a9b7

4 files changed

Lines changed: 7 additions & 7 deletions

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ all: tool man
3535
.PHONY: man
3636
man:
3737
go-md2man -in "man/oci-image-tool.1.md" -out "oci-image-tool.1"
38-
go-md2man -in "man/oci-image-tool-create.1.md" -out "oci-image-tool-create.1"
38+
go-md2man -in "man/oci-image-tool-create-bundle.1.md" -out "oci-image-tool-create-bundle.1"
3939
go-md2man -in "man/oci-image-tool-unpack.1.md" -out "oci-image-tool-unpack.1"
4040
go-md2man -in "man/oci-image-tool-validate.1.md" -out "oci-image-tool-validate.1"
4141

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ func createHandle(context *cli.Context) error {
7676
}
7777

7878
var createCommand = cli.Command{
79-
Name: "create",
79+
Name: "create-bundle",
8080
Usage: "Create an OCI image runtime bundle",
8181
Action: createHandle,
8282
Flags: []cli.Flag{

completions/bash/oci-image-tool

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ _oci-image-tool() {
202202
shopt -s extglob
203203

204204
local commands=(
205-
create
205+
create-bundle
206206
validate
207207
unpack
208208
)
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
% OCI Community
33
% JULY 2016
44
# NAME
5-
oci-image-tool create \- Create an OCI runtime bundle
5+
oci-image-tool create-bundle \- Create an OCI runtime bundle
66

77
# SYNOPSIS
8-
**oci-image-tool create** [src] [dest] [OPTIONS]
8+
**oci-image-tool create-bundle** [src] [dest] [OPTIONS]
99

1010
# DESCRIPTION
11-
`oci-image-tool create` validates an application/vnd.oci.image.manifest.v1+json and unpacks its layered filesystem to `dest/rootfs`, although the target directory is configurable with `--rootfs`. See **oci-image-tool unpack**(1) for more details on this process.
11+
`oci-image-tool create-bundle` validates an application/vnd.oci.image.manifest.v1+json and unpacks its layered filesystem to `dest/rootfs`, although the target directory is configurable with `--rootfs`. See **oci-image-tool unpack**(1) for more details on this process.
1212

1313
Also translates the referenced config from application/vnd.oci.image.config.v1+json to a
1414
runtime-spec-compatible `dest/config.json`.
@@ -35,7 +35,7 @@ runtime-spec-compatible `dest/config.json`.
3535
```
3636
$ skopeo copy docker://busybox oci:busybox-oci
3737
$ mkdir busybox-bundle
38-
$ oci-image-tool create --ref latest busybox-oci busybox-bundle
38+
$ oci-image-tool create-bundle --ref latest busybox-oci busybox-bundle
3939
$ cd busybox-bundle && sudo runc run busybox
4040
[...]
4141
```

0 commit comments

Comments
 (0)