Running the PoC on Docker Desktop + WSL #5
frankcorneliusmartin
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I needed to make a few changes to run the demo on Docker desktop on Windows.
kubectl
Now you can login at
https://localhost
with this token.Change the mount paths. In order to access the files in the hostmachine you have to use the
/run/desktop/mnt/host/c
path. (see stack overflow for more details)node_config.yaml
) and kube-config-file (config
) to myc:/data/k8s
folder so I would be able to mount them. Thenode_pod_config
then becomes:0.0.0.0
. Thusserver_config.yaml
becomes:python simple_sio_server.py
host.docker.internal
in order to reach my simple server in my windows system:command_emmiter.py
to the IP the server listens on. From windowslocalhost
should do, if you want to run it from your WSL instance you need to use the WSL interface at your hostmachine. In powershell:ipconfig
and look for the WSL adapter.Beta Was this translation helpful? Give feedback.
All reactions