Last active
July 26, 2018 11:06
-
-
Save Voronenko/2cc2df9e59226f73b90cb7c2b5ab2039 to your computer and use it in GitHub Desktop.
Expose windows docker build daemon to external interface
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
| apiVersion: v1 | |
| clusters: | |
| - cluster: | |
| insecure-skip-tls-verify: true | |
| server: https://localhost:6445 | |
| name: docker-for-desktop-cluster | |
| contexts: | |
| - context: | |
| cluster: docker-for-desktop-cluster | |
| user: docker-for-desktop | |
| name: docker-for-desktop | |
| current-context: docker-for-desktop-cluster | |
| kind: Config | |
| preferences: {} | |
| users: | |
| - name: docker-for-desktop | |
| user: | |
| client-certificate-data: REDACTED | |
| client-key-data: REDACTED |
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
| SET EXTERNAL_IP=192.168.2.2 | |
| netsh interface portproxy add v4tov4 listenport=2375 connectaddress=127.0.0.1 connectport=2375 listenaddress=%EXTERNAL_IP% protocol=tcp |
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
| SET EXTERNAL_IP=192.168.2.2 | |
| netsh interface portproxy add v4tov4 listenport=6445 connectaddress=127.0.0.1 connectport=6445 listenaddress=%EXTERNAL_IP% protocol=tcp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment