You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/docs/app-developer-guide/export-to-oci-layout.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ summary="Learn how to export your application image to disk in OCI layout format
6
6
7
7
<divclass="quote mb-4">
8
8
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>
10
10
</div>
11
11
12
12
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
25
25
pack config experimental true
26
26
```
27
27
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:
29
29
30
30
```bash
31
31
cat ~/.pack/config.toml
@@ -37,7 +37,7 @@ The configuration shows the experimental mode was **enabled** and a local direct
37
37
38
38
### 2. Build the app
39
39
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.
41
41
42
42
The OCI layout feature must be enabled using the convention `oci:<path/to/save/image>` in the `<image-name>` parameter when invoking `pack build`.
43
43
@@ -53,7 +53,7 @@ It will save the image in a folder `./sample-app` created in your current direct
53
53
54
54
**Congratulations!**
55
55
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:
57
57
58
58
```bash
59
59
tree sample-app
@@ -77,7 +77,7 @@ sample-app
77
77
78
78
3 directories, 13 files
79
79
```
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
81
81
[runtime bundler](https://github.com/opencontainers/runtime-spec) that can be executed with another tool like [runc](https://github.com/opencontainers/runc)
82
82
83
83
---
@@ -87,7 +87,7 @@ If you are interested on keep playing with the image in OCI layout format, one
87
87
### Skip saving your run-image layers on disk
88
88
89
89
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
91
91
92
92
If you don't need your `run-image` layers on disk, you can skip them using `--sparse` flag in your `pack build` command invocation.
93
93
@@ -117,7 +117,7 @@ sample-app
117
117
3 directories, 10 files
118
118
```
119
119
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
121
121
`run-image` that were not downloaded but if you check your config file you'll notice you have the same number of layers as
0 commit comments