Re:Adding Kubernetes support to the Docker platform
by pmezard on Tuesday October 17, 2017 @07:29AM
(#15490088)
Is there an easy way to build an image locally and start it in minikube without an external registry or running a local one?
[ Parent
| on HN ]
Re:Adding Kubernetes support to the Docker platform
by nickjackson on Tuesday October 17, 2017 @07:33AM
(#15490101)
yes. `eval $(minikube docker-env)` will setup the docker cli to use minikube's docker demon.
https://kubernetes.io/docs/getting-started-guides/minikube/#...
Re:Adding Kubernetes support to the Docker platform
by jburwell on Tuesday October 17, 2017 @07:36AM
(#15490111)
We use minikube's support for Docker insecure registries to build and deploy images locally. It works perfectly for us.
Re:Adding Kubernetes support to the Docker platform
by user15128 on Tuesday October 17, 2017 @07:39AM
(#15490123)
i guess the easiest way would be to run a registry in minikube.
another approach would be to run docker inside a k8s-pod (docker-in-docker), that way you can run images without having to push them to a registry but still test it in k8s-environment (at least to some extent).