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?