Reputation
Next privilege 125 Rep.
Vote down
Badges
6
Newest
 Commentator
Impact
~573 people reached

  • 0 posts edited
  • 0 helpful flags
  • 1 vote cast
Apr
24
answered Terraform, ecs service creation fails when using a configured IAM policy
Apr
23
revised Terraform, ecs service creation fails when using a configured IAM policy
added 470 characters in body
Apr
23
asked Terraform, ecs service creation fails when using a configured IAM policy
Apr
23
answered Putting ELB in from of my ECS Cluster / Service
Apr
23
awarded  Commentator
Apr
23
comment Howto expose port in docker container
Indeed. That solved my problem. Can now access the web service in the docker container.
Apr
23
asked Putting ELB in from of my ECS Cluster / Service
Apr
23
awarded  Scholar
Apr
23
awarded  Supporter
Apr
23
accepted Howto expose port in docker container
Apr
22
comment Howto expose port in docker container
@pratheek61 No result. netstat -tunl | grep 8080 returns empty.
Apr
22
comment Howto expose port in docker container
@prateek61 netstat -tunl | wc has over 500 lines. It takes too long to copy the entire thing. But the output looks like this.
Apr
22
comment Howto expose port in docker container
Update: I was able to shell into the container. And indeed the web server is up and responding to requests. So the issue is just that I can't access the container over HTTP. Dockerfile is here. And I'm failing with both docker run -p 127.0.0.1:8080:8080 beatthemarket run wait and docker run -P beatthemarket run wait commands.
Apr
22
comment Howto expose port in docker container
After rebuilding the image, docker run -p 127.0.0.1:8080:8080 beatthemarket run wait still refuses a connection. According to the docs, running docker run -P beatthemarket run wait should Publish all exposed ports to the host interfaces. But the connection also gets refused there as well... How do I shell into the container to sanity check that the web service started?
Apr
22
comment Howto expose port in docker container
@prateek61, I'm on OSX, and when I run netstat -tunlp, it tells me netstat: option requires an argument -- p.
Apr
22
revised Howto expose port in docker container
Adding more information, cheifly the `docker run` output.
Apr
22
comment Howto expose port in docker container
@MichaelHampton Absolutely. I've added docker output, and that nothing happens when trying to connect to the web service.
Apr
22
awarded  Editor
Apr
22
revised Howto expose port in docker container
Adding more information, cheifly the `docker run` output.
Apr
22
awarded  Student