flancy icon indicating copy to clipboard operation
flancy copied to clipboard

Get Flancy to work in a Windows container

Open toenuff opened this issue 9 years ago • 3 comments

This is done. Leaving the issue open until it is documented.

With CTP 3, I was able to get a container started with a flancy server serving pages publicly. However, a couple of things to note

  1. when you use netsh in a container to set http urlacl, you see the results in the parent, not the container. However, it does work. It also works fine if your admin and just use the -public switch.
  2. There are no errors given in the container. Hopefully this is fixed with ctp 4. It makes troubleshooting impossible
  3. Need to include or think about routing recipe. The internal ips need to be reachable from outside of the host. Perhaps the vswitch should be a passthrough and then I can just give it a unique IP. Either way, this has to be included in the recipe/documentation

Need to figure the way to get a script to launch at container launch. Right now I am entering a pssession and launching manually.

toenuff avatar Nov 09 '15 16:11 toenuff

Proof screenshot:

flancycontainer

toenuff avatar Nov 09 '15 16:11 toenuff

Got it to work with a NAT pretty easily add-windowsfeature routing netsh interface portproxy add v4tov4 listenport=8888 connectaddress=172.16.0.2 connectport=8000 protocol=tcp

toenuff avatar Nov 09 '15 18:11 toenuff

Documented here https://github.com/toenuff/flancy/wiki/Flancy-in-a-Windows-Container

However, leaving issue open until documentation is complete. Still need to get startup commands to work and share how to save flancy container images so they can be moved to other hosts.

toenuff avatar Nov 09 '15 21:11 toenuff