-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
"--use-new-run" problem with /dev/shm #1626
Comments
Update: When I try to
Reproduce via: IMAGE="kaniko-error:latest"
docker run -it --rm \
-v $(pwd):/workspace:rw \
gcr.io/kaniko-project/executor:debug \
--context dir:///workspace \
--dockerfile Dockerfile \
--destination "$IMAGE" \
--use-new-run
docker pull $IMAGE |
We are seeing similar behavior, also on gitlab CI |
We're also seeing a similar issue (only with
Digging a little more with First build, no cache
later in the logs:
Second build, reuses cache
|
Actual behavior
Loading some layers from cache fails.
Expected behavior
Kaniko should load all layers from cache without problems.
To Reproduce
Kanik arguments:
--use-new-run --cache=true
Steps to reproduce the behavior:
When removing the faulty layer from cache, it builds once. But when loading from cache the next time, it fails again.
I can also reproduce this when installing
software-properties-common
instead ofsudo
package.Additional Information
empty
gcr.io/kaniko-project/executor:debug
Kaniko is run from Gitlab CI in a Kubernetes runner.
Triage Notes for the Maintainers
--cache
flagThe text was updated successfully, but these errors were encountered: