Skip to content

minikube docker subcommand #9524

Closed
Closed
@owenthereal

Description

Steps to reproduce the issue:

This is not an issue but a feature request.

It would be nice to have a minikube docker subcommand that shells out to docker with the command's DOCKER_* env vars set to env vars output by minikube docker-env. This is similar to minikube kubectl which runs kubectl against the minikube cluster.

Currently, in order to not to pollute my current shell, I'm running sh -c 'eval $(minikube docker-env) && docker build ...' to self-contain any docker commands against the minikube cluster. This is not as convenient.

Full output of failed command:

N/A

Full output of minikube start command used, if not already included:

N/A

Optional: Full output of minikube logs command:

N/A

Metadata

Assignees

No one assigned

    Labels

    co/runtime/dockerIssues specific to a docker runtimekind/featureCategorizes issue or PR as related to a new feature.lifecycle/staleDenotes an issue or PR has remained open with no activity and has become stale.priority/awaiting-more-evidenceLowest priority. Possibly useful, but not yet enough support to actually get it done.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions