Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get Flancy to work in a Windows container #29

Open
toenuff opened this issue Nov 9, 2015 · 3 comments
Open

Get Flancy to work in a Windows container #29

toenuff opened this issue Nov 9, 2015 · 3 comments

Comments

@toenuff
Copy link
Owner

toenuff commented Nov 9, 2015

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
Copy link
Owner Author

toenuff commented Nov 9, 2015

Proof screenshot:

flancycontainer

@toenuff
Copy link
Owner Author

toenuff commented Nov 9, 2015

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
Copy link
Owner Author

toenuff commented Nov 9, 2015

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant