in28minutes / devops-master-class

Devops Tutorial for Beginners - Learn Docker, Kubernetes, Terraform, Ansible, Jenkins and Azure Devops
https://links.in28minutes.com/DevOps-SBT
2.24k stars 5.9k forks source link

Issues while running java application image #7

Open arpitcoder opened 3 years ago

arpitcoder commented 3 years ago

When I run this java application provided by you with the command- docker run -p 5000:5000 in28min/hello-world-java:0.0.1.RELEASE

And also when i try to run the rest api by - docker run -d -p 5001:8080 in28min/hello-world-rest-api:0.0.1.RELEASE

For the other python and nodejs application they are running fine.

Container do get up and running but when i go to check the localhost port to check the application, I don't anything there.

Do I need some other dependencies to install like apache tomcat or anything else.?

I am using Macbook pro M1 chip.

Please help ..!!

yaroslavsadin commented 2 years ago

same here, apple macbook m1 chip as well

PrathamJaiswal001 commented 2 years ago

Just refresh the docker application and it'll work fine after that .

DdeathCoder commented 1 year ago

is it still open @arpitcoder

170031284 commented 4 months ago

You should first check the docker logs and then check for port that mentioned in configuration and also see if it is matching with the port in local host . You can also verify the firewall to see ang blockage .