docker run --rm -it --network=host alpine ash -c "apk add socat && socat TCP-LISTEN:5000,reuseaddr,fork TCP:host.docker.internal:5000"
This command creates a temporary network bridge so that Docker Desktop can reach the Minikube registry via 127.0.0.1:5000. Without this, Docker cannot connect to the Minikube port-forward.
When you run the first command, let your terminal opened and go start a new one and run your commands for tag and push. example:
docker tag my_first_image 127.0.0.1:5000/my_first_image
docker push 127.0.0.1:5000/my_first_image