Skip to content

Commit de7c1e1

Browse files
committed
docs: fix a couple of typos
And don't refer to a filename in an example as a directory in accompanying text. Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
1 parent 89f50af commit de7c1e1

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

docs/buildah-build.1.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -875,7 +875,7 @@ process completes successfully.
875875
If _imageName_ does not include a registry name component, the registry name *localhost* will be prepended to the image name.
876876

877877
The **--tag** option supports all transports from `containers-transports(5)`.
878-
If no transport is specified, the `container-storage` (i.e., local storage) transport is used.
878+
If no transport is specified, the `containers-storage` (i.e., local storage) transport is used.
879879

880880
__buildah build --tag=oci-archive:./foo.ociarchive .__
881881

docs/buildah-commit.1.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ with a registry name component, `localhost` will be added to the name. If
1414
name, the `buildah images` command will display `<none>` in the `REPOSITORY` and
1515
`TAG` columns.
1616

17-
The *Image* value supports all transports from `containers-transports(5)`. If no transport is specified, the `container-storage` (i.e., local storage) transport is used.
17+
The *image* value supports all transports from `containers-transports(5)`. If no transport is specified, the `containers-storage` (i.e., local storage) transport is used.
1818

1919
## RETURN VALUE
2020
The image ID of the image that was created. On error, 1 is returned and errno is returned.
@@ -202,11 +202,11 @@ Unset environment variables from the final image.
202202
This example saves an image based on the container.
203203
`buildah commit containerID newImageName`
204204

205-
This example saves an image named newImageName based on the container.
205+
This example saves an image named newImageName based on the container and removes the working container.
206206
`buildah commit --rm containerID newImageName`
207207

208-
This example commits to an OCI Directory named /tmp/newImageName based on the container.
209-
`buildah commit --rm containerID oci-archive:/tmp/newImageName`
208+
This example commits to an OCI archive file named /tmp/newImageName based on the container.
209+
`buildah commit containerID oci-archive:/tmp/newImageName`
210210

211211
This example saves an image with no name, removes the working container, and creates a new container using the image's ID.
212212
`buildah from $(buildah commit --rm containerID)`

0 commit comments

Comments
 (0)