Skip to content

Instantly share code, notes, and snippets.

@liangway
Last active May 4, 2020 08:09
Show Gist options
  • Save liangway/b61442b23e208f61b248d7eafc6c1660 to your computer and use it in GitHub Desktop.
Save liangway/b61442b23e208f61b248d7eafc6c1660 to your computer and use it in GitHub Desktop.
minikube start

docker build . -t higo

# Start docker registry
docker run --rm -it --network=host alpine ash -c "apk add socat && socat TCP-LISTEN:5000,reuseaddr,fork TCP:$(minikube ip):5000"

docker run --rm -it -p 8080:8080 higo

docker push localhost:5000/higo

minikube service demo

Ref. https://kubernetes.io/docs/tutorials/hello-minikube/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment