79755122

Date: 2025-09-03 22:18:36
Score: 1
Natty:
Report link

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

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: LHnabil