Aleksandar Gulof
Aleksandar Gulof

Reputation: 13

Failing to Use Docker to Run a Project

So I'm trying to run this project using docker.

I followed the standard docker protocol:

docker build -t orange .
docker run -p 8080:8080 orange

I used the following command to check that the docker image was indeed created.

docker image ls

However, after running these commands, there is still no site running on localhost:8080. Any tips on troubleshooting this?

EDIT: After using the right port, I'm getting a directory listing instead of an actual site. Directory listing

Upvotes: 1

Views: 51

Answers (1)

Alessandro Cosentino
Alessandro Cosentino

Reputation: 2364

By looking at the repository, it seems that the exposed port is 9999 and not 8080. Also, it looks like you can use docker-compose, that is, you can run

docker-compose up --build

to spin up the server. You should then be able to reach it at localhost:9999

Upvotes: 1

Related Questions