Skip to content

feature: docker-env, registry, and default behavior #575

Closed
@philips

Description

@philips

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureCategorizes 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.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions