Created
April 13, 2021 06:55
-
-
Save ybelleguic/d27a3d92da6cc122d685f652ee31d442 to your computer and use it in GitHub Desktop.
Access to minikube internal registry from the host (podman push localhost:5000/myimage:latest)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Minikube Proxy Registry Service | |
After=network-online.target | |
After=minikube.service | |
Requires=minikube.service | |
[Service] | |
Type=simple | |
User=Yohan.Belleguic | |
Group=Yohan.Belleguic | |
ExecStart=/bin/bash -c "socat TCP-LISTEN:5000,reuseaddr,fork TCP:$$(minikube ip):5000" | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment