I have a simple shell script that build an images from a Dockerfile. I will deploy this image to k8s.
Here is the script:
#!/bin/bash
eval $(minikube docker-env)
docker build -t my-image .
But the built image is missing on the Minikube’s Docker daemon. Instead it exists on the Host’s Docker daemon.
I have no idea what to do since I am newbie on Linux.
New contributor
unuser is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.