-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Closed
Labels
kind/featureCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.Denotes an issue or PR that has aged beyond stale and will be auto-closed.
Description
Is this a BUG REPORT or FEATURE REQUEST? (choose one): FEATURE REQUEST
Many developers use docker build and having it with minikube makes for a nice little dev system. However, docker build -t foo ., kubectl run foo --image=foo doesn't work. Why?
$ kubectl get pods
NAME READY STATUS RESTARTS AGE
foo-798133755-ebi70 0/1 ImagePullBackOff 0 23s
Because the default ImagePullPolicy is not "IfNotPresent".
So, I think we should provide a workaround. I propose that we create a tiny Docker Engine proxy that looks for build and tag verbs and when they are made pushes it into the registry addon.
Advantages:
- Default behavior works
- Works for rkt runtime support as well
Thoughts?
jellonek
Metadata
Metadata
Assignees
Labels
kind/featureCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.Denotes an issue or PR that has aged beyond stale and will be auto-closed.