Skip to content

Commit

Permalink
Clarify why merging into another container is a bad idea (#2965)
Browse files Browse the repository at this point in the history
I tend to read 'YMMV' as 'might need some jiggling'. I think being explicit about the particular implementation details is more useful here.
  • Loading branch information
timbavtbc authored Jan 30, 2024
1 parent 0a7971e commit 0733ec1
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ standard Kubernetes cluster.

kaniko is meant to be run as an image: `gcr.io/kaniko-project/executor`. We do
**not** recommend running the kaniko executor binary in another image, as it
might not work.
might not work as you expect - see [Known Issues](#known-issues).

We'd love to hear from you! Join us on
[#kaniko Kubernetes Slack](https://kubernetes.slack.com/messages/CQDCHGX7Y/)
Expand Down Expand Up @@ -150,9 +150,12 @@ image (if there are any) and update image metadata.

- kaniko does not support building Windows containers.
- Running kaniko in any Docker image other than the official kaniko image is not
supported (ie YMMV).
supported due to implementation details.
- This includes copying the kaniko executables from the official image into
another image.
another image (e.g. a Jenkins CI agent).
- In particular, it cannot use chroot or bind-mount because its container must
not require privilege, so it unpacks directly into its own container root
and may overwrite anything already there.
- kaniko does not support the v1 Registry API
([Registry v1 API Deprecation](https://engineering.docker.com/2019/03/registry-v1-api-deprecation/))

Expand Down

0 comments on commit 0733ec1

Please sign in to comment.