Let’s suppose I want to run a docker-container that publishes a port to the host so that I can connect from host to the app running in the container using that published port. Is it possible to do that on CircleCI? It seems like it’s not, I just want to clarify.
My config looks like that:
- setup_remote_docker: version: 18.05.0-ce - run: name: run Mitmdump command: | docker run --rm -d -p 8080:8080 mitmproxy/mitmproxy mitmdump --flow-detail 3
Here is an example build:
nc -w 15 -z localhost 8080 command tests whether the port is open and notice how it fails.