Public Repository

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

Dockerfile:
FROM java:8
COPY PingPong.java /
RUN javac PingPong.java
EXPOSE 8080
ENTRYPOINT ["java"]
CMD ["PingPong"]

docker build -t dbergk/pingpong .

docker run -d -p 8080:8080 dbergk/pingpong

curl http://localhost:8080/ping

bash:
docker run -i -t --entrypoint="bash" dbergk/pingpong

Docker Pull Command
Owner
dbergk

Comments (0)