Skip to content

Commit e596648

Browse files
jjbustamantejoe-kimmel-vmwAidanDelaney
authored
Apply suggestions from code review
Co-authored-by: Joe Kimmel <[email protected]> Co-authored-by: Aidan Delaney <[email protected]> Signed-off-by: Juan Bustamante <[email protected]>
1 parent 95e7f83 commit e596648

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

content/docs/app-developer-guide/export-to-oci-layout.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ summary="Learn how to export your application image to disk in OCI layout format
66

77
<div class="quote mb-4">
88
The OCI Image Layout is the directory structure for OCI content-addressable blobs and location-addressable references.
9-
<div class="author">See the <a href="https://github.com/opencontainers/image-spec/blob/main/image-layout.md">specification</a></div>
9+
<div class="author">See the <a href="https://github.com/opencontainers/image-spec/blob/main/image-layout.md">specification.</a></div>
1010
</div>
1111

1212
Exporting to OCI layout format is an **experimental** feature available on pack since version X.Y.Z
@@ -25,7 +25,7 @@ Enable the experimental features on pack
2525
pack config experimental true
2626
```
2727

28-
You can confirm everything is fine, checking the `config.toml` file in your `PACK_HOME` installation folder, for example:
28+
You can confirm everything is fine, checking the `config.toml` file in your `PACK_HOME` installation folder. For example:
2929

3030
```bash
3131
cat ~/.pack/config.toml
@@ -37,7 +37,7 @@ The configuration shows the experimental mode was **enabled** and a local direct
3737

3838
### 2. Build the app
3939

40-
If you haven't already, please follow the steps to [build an app](/docs/app-developer-guide/build-an-app), once you managed to build a sample application you can try exporting the sample application to disk in OCI layout format.
40+
Please first follow the steps to [build an app](/docs/app-developer-guide/build-an-app), once you have successfully built an application you can export the sample application to disk in OCI layout format.
4141

4242
The OCI layout feature must be enabled using the convention `oci:<path/to/save/image>` in the `<image-name>` parameter when invoking `pack build`.
4343

@@ -53,7 +53,7 @@ It will save the image in a folder `./sample-app` created in your current direct
5353

5454
**Congratulations!**
5555

56-
You can verify your application image was saved on disk in a folder called `./sample-app` in your current directory in OCI layout format, for example:
56+
You can verify your application image was saved on disk in a folder called `./sample-app` in your current directory in OCI layout format. For example:
5757

5858
```bash
5959
tree sample-app
@@ -77,7 +77,7 @@ sample-app
7777

7878
3 directories, 13 files
7979
```
80-
If you are interested on keep playing with the image in OCI layout format, one tool you can take a look is [umoci](https://umo.ci/) it can help you to create a
80+
If you want to keep playing with the image in OCI layout format, one tool you can take a look at is [umoci](https://umo.ci/). It can help you to create a
8181
[runtime bundler](https://github.com/opencontainers/runtime-spec) that can be executed with another tool like [runc](https://github.com/opencontainers/runc)
8282

8383
---
@@ -87,7 +87,7 @@ If you are interested on keep playing with the image in OCI layout format, one
8787
### Skip saving your run-image layers on disk
8888

8989
Before using this option we suggest to remove your local layout directory (the one configured in your pack config.toml with the key `layout-repo-dir`) and
90-
your application image folder (if you are planning to use the same folder), the reason for this is pack doesn't remove the blobs saved in the `layout-repo-dir` if you use the `--sparse` flag
90+
your application image folder (if you are planning to use the same folder). The reason for this is pack doesn't remove the blobs saved in the `layout-repo-dir` if you use the `--sparse` flag
9191

9292
If you don't need your `run-image` layers on disk, you can skip them using `--sparse` flag in your `pack build` command invocation.
9393

@@ -117,7 +117,7 @@ sample-app
117117
3 directories, 10 files
118118
```
119119

120-
As you can see, there are 3 missing files at `sample-app/blobs/sha256` folder, the missing 3 blobs are the blobs from the
120+
As you can see, there are 3 missing files at `sample-app/blobs/sha256` folder. The missing 3 blobs are the blobs from the
121121
`run-image` that were not downloaded but if you check your config file you'll notice you have the same number of layers as
122122
when you export the full image.
123123

0 commit comments

Comments
 (0)