jonnyzzz / TeamCity.Virtual

Docker and Vagrant build runners plugin for TeamCity
http://blog.jonnyzzz.name
Apache License 2.0
84 stars 26 forks source link

Is possible to use port forwarding? #59

Open imranazad opened 6 years ago

imranazad commented 6 years ago

Hi

Is it possible to use port forwarding so I can access a service running in docker say on port 8080 from another build step? I have some .net integration tests that rely on talking to an instance of elastic and I was hoping I could fire up a container of elastic run the tests and dispose of it.

Any tips / advice much appreciated.

jonnyzzz commented 6 years ago

You may use additional commandline to add necessary -p parameters to the docker run command