-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
preload removes images built by user in docker-env #6981
Comments
Maybe need to reindexed , if you are adding the storage layers directly ? |
Hi! I confirm the exact same behavior on:
If I use |
@medyagh : and with "index", I meant the In the code, it is known as the refstore: https://github.com/moby/moby/blob/master/reference/store.go |
Probably only because there is no preload (yet?) for that version... |
since this behaviour only happesn on a minikube reload (start again) I feel like if we make minikube not to preload on a "restart" or "soft restart" then we should not see this problem. Wdyt @priyawadhwa ? |
so you think the user's image is not over-written by our tar, it just needs re-index? how do we do re-index? |
Well, the layers themselves should be under the sha256 directories. It's the tags that need "merging" My tarball has this: ( {
"Repositories": {
"gcr.io/k8s-minikube/storage-provisioner": {
"gcr.io/k8s-minikube/storage-provisioner:v1.8.1": "sha256:4689081edb103a9e8174bf23a255bfbe0b2d9ed82edc907abab6989d1c60f02c",
"gcr.io/k8s-minikube/storage-provisioner@sha256:088daa9fcbccf04c3f415d77d5a6360d2803922190b675cb7fc88a9d2d91985a": "sha256:4689081edb103a9e8174bf23a255bfbe0b2d9ed82edc907abab6989d1c60f02c"
},
"k8s.gcr.io/coredns": {
"k8s.gcr.io/coredns:1.6.5": "sha256:70f311871ae12c14bd0e02028f249f933f925e4370744e4e35f706da773a8f61",
"k8s.gcr.io/coredns@sha256:7ec975f167d815311a7136c32e70735f0d00b73781365df1befd46ed35bd4fe7": "sha256:70f311871ae12c14bd0e02028f249f933f925e4370744e4e35f706da773a8f61"
},
"k8s.gcr.io/etcd": {
"k8s.gcr.io/etcd:3.4.3-0": "sha256:303ce5db0e90dab1c5728ec70d21091201a23cdf8aeca70ab54943bbaaf0833f",
"k8s.gcr.io/etcd@sha256:4afb99b4690b418ffc2ceb67e1a17376457e441c1f09ab55447f0aaf992fa646": "sha256:303ce5db0e90dab1c5728ec70d21091201a23cdf8aeca70ab54943bbaaf0833f"
},
"k8s.gcr.io/kube-apiserver": {
"k8s.gcr.io/kube-apiserver:v1.17.3": "sha256:90d27391b7808cde8d9a81cfa43b1e81de5c4912b4b52a7dccb19eb4fe3c236b",
"k8s.gcr.io/kube-apiserver@sha256:33400ea29255bd20714b6b8092b22ebb045ae134030d6bf476bddfed9d33e900": "sha256:90d27391b7808cde8d9a81cfa43b1e81de5c4912b4b52a7dccb19eb4fe3c236b"
},
"k8s.gcr.io/kube-controller-manager": {
"k8s.gcr.io/kube-controller-manager:v1.17.3": "sha256:b0f1517c1f4bb153597033d2efd81a9ac630e6a569307f993b2c0368afcf0302",
"k8s.gcr.io/kube-controller-manager@sha256:2f0bf4d08e72a1fd6327c8eca3a72ad21af3a608283423bb3c10c98e68759844": "sha256:b0f1517c1f4bb153597033d2efd81a9ac630e6a569307f993b2c0368afcf0302"
},
"k8s.gcr.io/kube-proxy": {
"k8s.gcr.io/kube-proxy:v1.17.3": "sha256:ae853e93800dc2572aeb425e5765cf9b25212bfc43695299e61dece06cffa4a1",
"k8s.gcr.io/kube-proxy@sha256:3a70e2ab8d1d623680191a1a1f1dcb0bdbfd388784b1f153d5630a7397a63fd4": "sha256:ae853e93800dc2572aeb425e5765cf9b25212bfc43695299e61dece06cffa4a1"
},
"k8s.gcr.io/kube-scheduler": {
"k8s.gcr.io/kube-scheduler:v1.17.3": "sha256:d109c0821a2b9225b69b99a95000df5cd1de5d606bc187b3620d730d7769c6ad",
"k8s.gcr.io/kube-scheduler@sha256:b091f0db3bc61a3339fd3ba7ebb06c984c4ded32e1f2b1ef0fbdfab638e88462": "sha256:d109c0821a2b9225b69b99a95000df5cd1de5d606bc187b3620d730d7769c6ad"
},
"k8s.gcr.io/pause": {
"k8s.gcr.io/pause:3.1": "sha256:da86e6ba6ca197bf6bc5e9d900febd906b133eaa4750e6bed647b0fbe50ed43e",
"k8s.gcr.io/pause@sha256:f78411e19d84a252e53bff71a4407a5686c46983a2c2eeed83929b888179acea": "sha256:da86e6ba6ca197bf6bc5e9d900febd906b133eaa4750e6bed647b0fbe50ed43e"
},
"kindest/kindnetd": {
"kindest/kindnetd:0.5.3": "sha256:aa67fec7d7ef71445da9a84e9bc88afca2538e9a0aebcba6ef9509b7cf313d17",
"kindest/kindnetd@sha256:bc1833b3da442bb639008dd5a62861a0419d3f64b58fce6fb38b749105232555": "sha256:aa67fec7d7ef71445da9a84e9bc88afca2538e9a0aebcba6ef9509b7cf313d17"
},
"kubernetesui/dashboard": {
"kubernetesui/dashboard:v2.0.0-beta8": "sha256:eb51a359752560a66f314602e87155b75f428fb838bf951079ff1f9621958c0c",
"kubernetesui/dashboard@sha256:fc90baec4fb62b809051a3227e71266c0427240685139bbd5673282715924ea7": "sha256:eb51a359752560a66f314602e87155b75f428fb838bf951079ff1f9621958c0c"
},
"kubernetesui/metrics-scraper": {
"kubernetesui/metrics-scraper:v1.0.2": "sha256:3b08661dc379d9f80155be9d658f71578988640357ebae1aab287d6954c723d1",
"kubernetesui/metrics-scraper@sha256:2026f9f7558d0f25cc6bab74ea201b4e9d5668fbc378ef64e13fddaea570efc0": "sha256:3b08661dc379d9f80155be9d658f71578988640357ebae1aab287d6954c723d1"
}
}
}
|
Yah, so the layers are fine but the |
Exact same issue, ubuntu 18.04, minikube v1.8.1, kvm2 driver. Please fix and release. |
with docker-env on: build an image:
check the image is tehere
re-load minikube
check for images again, it is gone :(
The text was updated successfully, but these errors were encountered: