Skip to content

Commit

Permalink
updating some feedback
Browse files Browse the repository at this point in the history
Signed-off-by: Juan Bustamante <[email protected]>
  • Loading branch information
jjbustamante committed Aug 17, 2023
1 parent 22e144f commit db5efd4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
6 changes: 6 additions & 0 deletions content/docs/features/experimental/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
+++
title="Experimental"
weight=1
include_summaries=true
expand=false
+++
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ summary="Learn how to export your application image to disk in OCI layout format
<div class="author">See the <a href="https://github.com/opencontainers/image-spec/blob/main/image-layout.md">specification.</a></div>
</div>

Exporting to OCI layout format is an **experimental** feature available on pack since version X.Y.Z
Exporting to OCI layout format is an **experimental** feature available on pack since version 0.30.0

### 1. Enable experimental feature

Verify your pack version is equal or greater than 0.29.0
Verify your pack version is equal or greater than 0.30.0

```bash
pack version
Expand All @@ -33,7 +33,8 @@ experimental = true
layout-repo-dir = "<$HOME>/.pack/layout-repo"
```

The configuration shows the experimental mode was **enabled** and a local directory to save images on disk was configured to path `<$HOME>/.pack/layout-repo`.
The configuration shows the experimental mode was **enabled** and a local directory to save images on disk was configured to path `<$HOME>/.pack/layout-repo`. `layout-repo-dir` is being used as a [local repository](https://github.com/buildpacks/rfcs/blob/main/text/0119-export-to-oci.md#how-it-works)
to save images requires by `pack build` command in OCI layout format.

### 2. Build the app

Expand Down Expand Up @@ -143,7 +144,7 @@ But [crane](https://github.com/google/go-containerregistry/tree/main/cmd/crane)
```bash
crane pull <your-image> <dest> --format=oci
```
It will give you `application/vnd.docker.distribution.manifest.list.v2+json`, which will fail
It will give you `application/vnd.docker.distribution.manifest.list.v2+json`, which will fail because of the [state of our current implementation](https://github.com/buildpacks/rfcs/pull/203#discussion_r1092449172), we will improve this behavior in future versions.



Expand Down

0 comments on commit db5efd4

Please sign in to comment.