-
Notifications
You must be signed in to change notification settings - Fork 405
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kaniko builds fail on k3d #13051
Comments
does k3d provisions with |
The issue is also reproducible by Dmitry Buslov. He is using the following versions:
|
If I understand it correctly this issue occurs only on the older Kaniko version and it's already fixed on the latest revision of thee The example posted in the Links: |
@pPrecel You are right, problem does not exist with kaniko v1.7.0
|
Together with @nachtmaar, we've tested the new kaniko version with kyma on k3d and unfortunately, it's still not working. It means that our case is probably not the same as in the issue described in the |
We are not entirely sure what could be the reason. |
Description
Kaniko build fails with message
kaniko should only be run inside of a container, run with the --force flag if you are sure you want to continue
Expected result
Kaniko is able to build the function image.
Actual result
Build fails with the following message:
Steps to reproduce
Deploy the following function:
It will stay in failed state forever:
The exact function CR:
Versions:
Docker Desktop 4.3.2 (72729) on Mac OS 12.1
Troubleshooting
I did discover the following issue: https://githubmate.com/repo/GoogleContainerTools/kaniko/issues/1592
Based on this, I see the problem resolves when using
container=docker
variable.Lines starting with
$
are to be run on thehost
(my Mac OS machine), lines starting with#
are to be run in thecontainer
:The text was updated successfully, but these errors were encountered: