A Spring Boot MVC application that displays the current time.
143
A Spring Boot MVC application that displays the current time. Completed as an assignment for the Devops with Docker course from the University of Helsinki's Mooc.fi.
The application has been containerized with Docker.
In order to run this container you'll need docker installed.
docker pull jacquesnavarro/current-time
docker build -t current-time .
docker run -p <host port>:<container port> current-time
The application runs on port 8080 of the container.
docker run -p 8080:8080 current-time
The port on the host can be changed by another port if another application is already using port 8080 .
docker run -p <host port>:8080 current-time
The shell can be accessed with the -it flags and passing bash as an argument after the image name.
docker run -it -p 8080:8080 current-time bash
https://github.com/jacques-navarro
This project is licensed under the MIT License - see the LICENSE.md file for details.
Content type
Image
Digest
sha256:f551e2165…
Size
200.1 MB
Last updated
over 2 years ago
docker pull jacquesnavarro/current-time