Skip to content

Commit

Permalink
Adding drawbacks
Browse files Browse the repository at this point in the history
Signed-off-by: Juan Bustamante <jbustamante@vmware.com>
  • Loading branch information
jjbustamante committed Feb 8, 2022
1 parent c95da76 commit 49c9b41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion text/0000-deprecate-daemon.md
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ In this solution the *Lifecycle* ONLY interacts with a registry for pull/push th
![](https://i.imgur.com/P0NxdMw.png)

### Drawbacks
*
* The biggest downside of this is probably how a platform like pack makes this work. It can stand up a registry - but I'm not sure how reliable this would be to expose to the containers running on docker without additional configuration in the Docker preferences to allow insecureRegistries, for instance. Or it would need to create a cert and have that trusted when containers boot.

## Lifecycle pluggable architecture approach
Based on the PoC results, the hard work to enable the feature for exporting images to OCI layout format was done implementing the [Image interface](https://github.com/buildpacks/imgutil/blob/main/image.go) in imgUtil. The idea is use [Go plugins](https://pkg.go.dev/plugin) concepts and convert the implementation of this interface in an external module that will be injected at runtime in the *Lifecycle*.
Expand Down

0 comments on commit 49c9b41

Please sign in to comment.